From: Silvio Rhatto Date: Tue, 29 Nov 2011 23:52:25 +0000 (-0200) Subject: Trying to fix a syntax error X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=16134519bd4b765c1aa2636ddb4b1b852e4f16fc;p=puppet-nodo.git Trying to fix a syntax error --- diff --git a/manifests/subsystems/websites.pp b/manifests/subsystems/websites.pp index 609b841..5d50e10 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 == 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 and tag != 'all' and tag != undef |> { + Apache::Site <| (tag != $hostname and tag != 'all' and tag != undef) |> { ensure => absent, } - Database::Instance <| tag != $hostname and tag != 'all' and tag != undef |> { + Database::Instance <| (tag != $hostname and tag != 'all' and tag != undef) |> { ensure => absent, } - Ikiwiki::Instance <| tag != $hostname and tag != 'all' and tag != undef |> { + Ikiwiki::Instance <| (tag != $hostname and tag != 'all' and tag != undef) |> { ensure => absent, }