]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Block fix
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 25 Dec 2009 12:51:08 +0000 (10:51 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 25 Dec 2009 12:51:08 +0000 (10:51 -0200)
manifests/init.pp

index 00778f999e96a277e939cac04ff1c44129a2b6c2..4d02b40e14ed7b4cff9cf4a3657367dfaf50a056 100644 (file)
@@ -98,17 +98,18 @@ class apache {
                  require => File["${apache2_macros}"],
                  notify  => Service["apache"],
                }
-      }
-      default: {
-             file { "${apache2_sites}-available/$title":
-               ensure  => $ensure,
-               content => template('apache/site.erb'),
-               owner   => root,
-               group   => root,
-               mode    => 0644,
-               require => File["${apache2_macros}"],
-               notify  => Service["apache"],
              }
+      default: {
+                 file { "${apache2_sites}-available/$title":
+                   ensure  => $ensure,
+                   content => template('apache/site.erb'),
+                   owner   => root,
+                   group   => root,
+                   mode    => 0644,
+                   require => File["${apache2_macros}"],
+                   notify  => Service["apache"],
+                 }
+               }
     }
 
     $status = $ensure ? {