From c445c32adbefd77523970f8ec89f06e9242703f5 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 10 Dec 2012 19:54:45 +0000 Subject: websites::base: Create $webdatadir directory --- deployment/websites/manifests/base.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'deployment/websites') 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 + } } -- cgit v1.2.1