aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/websites.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-29 22:45:43 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-29 22:45:43 -0200
commit0fd9b92d5f5a2f2c5c6ad1e5e4b8c8baadad6af6 (patch)
treedf707f3e546210eda9c930f7b125884b39d97fb4 /manifests/subsystems/websites.pp
parente7f7b19dd5b66607ca1f9319f6bf9805bc3461bb (diff)
downloadpuppet-nodo-0fd9b92d5f5a2f2c5c6ad1e5e4b8c8baadad6af6.tar.gz
puppet-nodo-0fd9b92d5f5a2f2c5c6ad1e5e4b8c8baadad6af6.tar.bz2
You have to define a tag for websites; empty tags were not working
Diffstat (limited to 'manifests/subsystems/websites.pp')
-rw-r--r--manifests/subsystems/websites.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/subsystems/websites.pp b/manifests/subsystems/websites.pp
index 01b3450..4aa872a 100644
--- a/manifests/subsystems/websites.pp
+++ b/manifests/subsystems/websites.pp
@@ -144,19 +144,19 @@ class websites::hosting inherits websites::setup {
include pmwiki
include apache::rails
- Apache::Site <| tag == $hostname or tag == 'all' or tag == '' |>
- Database::Instance <| tag == $hostname or tag == 'all' or tag == '' |>
- Ikiwiki::Instance <| tag == $hostname or tag == 'all' or tag == '' |>
+ Apache::Site <| tag == $hostname or tag == 'all' |>
+ Database::Instance <| tag == $hostname or tag == 'all' |>
+ Ikiwiki::Instance <| tag == $hostname or tag == 'all' |>
- Apache::Site <| tag != $hostname and tag != 'all' and tag != '' |> {
+ Apache::Site <| tag != $hostname and tag != 'all' |> {
ensure => absent,
}
- Database::Instance <| tag != $hostname and tag != 'all' and tag != '' |> {
+ Database::Instance <| tag != $hostname and tag != 'all' |> {
ensure => absent,
}
- Ikiwiki::Instance <| tag != $hostname and tag != 'all' and tag != '' |> {
+ Ikiwiki::Instance <| tag != $hostname and tag != 'all' |> {
ensure => absent,
}