From 0fd9b92d5f5a2f2c5c6ad1e5e4b8c8baadad6af6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 29 Nov 2011 22:45:43 -0200 Subject: You have to define a tag for websites; empty tags were not working --- manifests/subsystems/websites.pp | 12 ++++++------ 1 file 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, } -- cgit v1.2.3