aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2012-12-10 19:54:45 +0000
committerNicolas Vigier <boklm@mageia.org>2012-12-10 19:54:45 +0000
commitc445c32adbefd77523970f8ec89f06e9242703f5 (patch)
treea3d9192e5adf1b90e90040f1a1e8ba7e6e276346 /deployment/websites
parent33fdf00d469a6066dd1d341c47b8e8f537ae4702 (diff)
downloadpuppet-c445c32adbefd77523970f8ec89f06e9242703f5.tar
puppet-c445c32adbefd77523970f8ec89f06e9242703f5.tar.gz
puppet-c445c32adbefd77523970f8ec89f06e9242703f5.tar.bz2
puppet-c445c32adbefd77523970f8ec89f06e9242703f5.tar.xz
puppet-c445c32adbefd77523970f8ec89f06e9242703f5.zip
websites::base: Create $webdatadir directory
Diffstat (limited to 'deployment/websites')
-rw-r--r--deployment/websites/manifests/base.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/deployment/websites/manifests/base.pp b/deployment/websites/manifests/base.pp
index c45ca431..32c26808 100644
--- a/deployment/websites/manifests/base.pp
+++ b/deployment/websites/manifests/base.pp
@@ -1,3 +1,9 @@
class websites::base {
$webdatadir = '/var/www/vhosts'
+ file { $webdatadir:
+ ensure => directory,
+ mode => 0755,
+ owner => root,
+ group => root
+ }
}