From 0deba8f40a3e22353f6728b8cd6f6164b82de7f8 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 19 Nov 2010 00:53:55 +0000 Subject: - fix directory creation --- modules/subversion/manifests/init.pp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules/subversion/manifests') diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp index dbc11edc..b354f709 100644 --- a/modules/subversion/manifests/init.pp +++ b/modules/subversion/manifests/init.pp @@ -15,8 +15,11 @@ class subversion { $local_dir = "/usr/local/share/subversion/" $local_dirs = ["$local_dir/pre-commit.d", "$local_dir/post-commit.d"] - file { $local_dir: - ensure => directory, + file { [$local_dir,$local_dirs]: + owner => root, + group => root, + mode => 755, + ensure => directory, } define syntax_check($regexp_ext,$check_cmd) { -- cgit v1.2.1