]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Trying to fix a syntax error (2)
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 29 Nov 2011 23:57:49 +0000 (21:57 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 29 Nov 2011 23:57:49 +0000 (21:57 -0200)
manifests/subsystems/websites.pp

index 5d50e104b88de3824ff4ee91f3a1ff29e65c93f7..16a93d17d6b6d09487d6d1c01ffacb3c5daf536d 100644 (file)
@@ -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,
   }