diff options
author | Nicolas Vigier <boklm@mageia.org> | 2012-12-10 19:54:45 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2012-12-10 19:54:45 +0000 |
commit | c445c32adbefd77523970f8ec89f06e9242703f5 (patch) | |
tree | a3d9192e5adf1b90e90040f1a1e8ba7e6e276346 | |
parent | 33fdf00d469a6066dd1d341c47b8e8f537ae4702 (diff) | |
download | puppet-c445c32adbefd77523970f8ec89f06e9242703f5.tar puppet-c445c32adbefd77523970f8ec89f06e9242703f5.tar.gz puppet-c445c32adbefd77523970f8ec89f06e9242703f5.tar.bz2 puppet-c445c32adbefd77523970f8ec89f06e9242703f5.tar.xz puppet-c445c32adbefd77523970f8ec89f06e9242703f5.zip |
websites::base: Create $webdatadir directory
-rw-r--r-- | deployment/websites/manifests/base.pp | 6 |
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 + } } |