summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-12-25 10:51:08 -0200
committerSilvio Rhatto <rhatto@riseup.net>2009-12-25 10:51:08 -0200
commit2e8c16513040781f352a0e28d7462aba64cbe195 (patch)
tree21aa688b73a64d2da19b12c38b1318a232d9dd1e /manifests
parent4566c7da664016f3244b31c1f63b37ac8af7f37b (diff)
downloadpuppet-apache-2e8c16513040781f352a0e28d7462aba64cbe195.tar.gz
puppet-apache-2e8c16513040781f352a0e28d7462aba64cbe195.tar.bz2
Block fix
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp21
1 files changed, 11 insertions, 10 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 00778f9..4d02b40 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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 ? {