diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-11-29 22:45:43 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-11-29 22:45:43 -0200 |
commit | 0fd9b92d5f5a2f2c5c6ad1e5e4b8c8baadad6af6 (patch) | |
tree | df707f3e546210eda9c930f7b125884b39d97fb4 | |
parent | e7f7b19dd5b66607ca1f9319f6bf9805bc3461bb (diff) | |
download | puppet-nodo-0fd9b92d5f5a2f2c5c6ad1e5e4b8c8baadad6af6.tar.gz puppet-nodo-0fd9b92d5f5a2f2c5c6ad1e5e4b8c8baadad6af6.tar.bz2 |
You have to define a tag for websites; empty tags were not working
-rw-r--r-- | manifests/subsystems/websites.pp | 12 |
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, } |