[Mageia-sysadm] [311] - fix directory creation

root at mageia.org root at mageia.org
Fri Nov 19 01:53:55 CET 2010


Revision: 311
Author:   misc
Date:     2010-11-19 01:53:55 +0100 (Fri, 19 Nov 2010)
Log Message:
-----------
- fix directory creation

Modified Paths:
--------------
    puppet/modules/subversion/manifests/init.pp

Modified: puppet/modules/subversion/manifests/init.pp
===================================================================
--- puppet/modules/subversion/manifests/init.pp	2010-11-19 00:53:08 UTC (rev 310)
+++ puppet/modules/subversion/manifests/init.pp	2010-11-19 00:53:55 UTC (rev 311)
@@ -15,8 +15,11 @@
        
         $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) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101119/bb8ac1d6/attachment.html>


More information about the Mageia-sysadm mailing list