From 66bc95a680bf90684e34016a79caf9b95f7f277c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 29 Nov 2011 21:57:49 -0200 Subject: Trying to fix a syntax error (2) --- manifests/subsystems/websites.pp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'manifests/subsystems/websites.pp') 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, } -- cgit v1.2.3