]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
You have to define a tag for websites; empty tags were not working
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 30 Nov 2011 00:45:43 +0000 (22:45 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 30 Nov 2011 00:45:43 +0000 (22:45 -0200)
manifests/subsystems/websites.pp

index 01b34502f1e9bd2130265c47d8c84699910e1040..4aa872ab3b06f6fe028b5c7155b2dfbe619aad71 100644 (file)
@@ -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,
   }