summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-10-17 15:53:58 +0200
committermh <mh@immerda.ch>2010-10-17 15:53:58 +0200
commit657cbbaee9aef1ef536d1cfa4c22d99653facd42 (patch)
treebc6fcba0be079e7bca387385df0bb967ec999092
parentff988cdc1eac0f4aa5d15d5a8a64664b50c245fd (diff)
downloadpuppet-lighttpd-657cbbaee9aef1ef536d1cfa4c22d99653facd42.tar.gz
puppet-lighttpd-657cbbaee9aef1ef536d1cfa4c22d99653facd42.tar.bz2
do the vhosts dir at the right place
-rw-r--r--manifests/vhosts.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/vhosts.pp b/manifests/vhosts.pp
index 72cbcf5..f84238c 100644
--- a/manifests/vhosts.pp
+++ b/manifests/vhosts.pp
@@ -8,4 +8,10 @@ class lighttpd::vhosts {
notify => Service['lighttpd'],
owner => root, group => 0, mode => 0644;
}
+
+ file{'/var/www/vhosts':
+ ensure => directory,
+ require => Package['lighttpd'],
+ owner => root, group => 0, mode => 0644;
+ }
}