]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Fixing variable name
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 29 Nov 2011 23:42:20 +0000 (21:42 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 29 Nov 2011 23:42:20 +0000 (21:42 -0200)
manifests/subsystems/websites.pp

index 5f54bcfeaeca0f0a8737db252cf5673e9db920aa..609b8417f155cca3ca70495bc62e9151be0f4dd4 100644 (file)
@@ -141,19 +141,19 @@ class websites::hosting inherits websites::setup {
   include pmwiki
   include apache::rails
 
-  Apache::Site       <| tag == $nodename or tag == 'all' or tag == undef |>
-  Database::Instance <| tag == $nodename or tag == 'all' or tag == undef |>
-  Ikiwiki::Instance  <| tag == $nodename or tag == 'all' or tag == undef |>
+  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 != $nodename and tag != 'all' and tag != undef |> {
+  Apache::Site <| tag != $hostname and tag != 'all' and tag != undef |> {
     ensure => absent,
   }
 
-  Database::Instance <| tag != $nodename and tag != 'all' and tag != undef  |> {
+  Database::Instance <| tag != $hostname and tag != 'all' and tag != undef  |> {
     ensure => absent,
   }
 
-  Ikiwiki::Instance <| tag != $nodename and tag != 'all' and tag != undef |> {
+  Ikiwiki::Instance <| tag != $hostname and tag != 'all' and tag != undef |> {
     ensure => absent,
   }