aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-29 21:57:49 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-29 21:57:49 -0200
commit66bc95a680bf90684e34016a79caf9b95f7f277c (patch)
tree11b4d26a753406b50d4b06c1eb2dcc0987901e40 /manifests
parent16134519bd4b765c1aa2636ddb4b1b852e4f16fc (diff)
downloadpuppet-nodo-66bc95a680bf90684e34016a79caf9b95f7f277c.tar.gz
puppet-nodo-66bc95a680bf90684e34016a79caf9b95f7f277c.tar.bz2
Trying to fix a syntax error (2)
Diffstat (limited to 'manifests')
-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 5d50e10..16a93d1 100644
--- a/manifests/subsystems/websites.pp
+++ b/manifests/subsystems/websites.pp
@@ -141,19 +141,19 @@ class websites::hosting inherits websites::setup {
include pmwiki
include apache::rails
- Apache::Site <| (tag == $hostname or tag == 'all' or tag == undef) |>
- Database::Instance <| (tag == $hostname or tag == 'all' or tag == undef) |>
- Ikiwiki::Instance <| (tag == $hostname or tag == 'all' or tag == undef) |>
+ 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 and tag != 'all' and tag != undef) |> {
+ Apache::Site <| (tag != $hostname and tag != 'all' and tag != '' |> {
ensure => absent,
}
- Database::Instance <| (tag != $hostname and tag != 'all' and tag != undef) |> {
+ Database::Instance <| (tag != $hostname and tag != 'all' and tag != '' |> {
ensure => absent,
}
- Ikiwiki::Instance <| (tag != $hostname and tag != 'all' and tag != undef) |> {
+ Ikiwiki::Instance <| (tag != $hostname and tag != 'all' and tag != '' |> {
ensure => absent,
}