[Mageia-sysadm] [299] add directory that will hold the various hooks scripts

root at mageia.org root at mageia.org
Fri Nov 19 01:24:15 CET 2010


Revision: 299
Author:   misc
Date:     2010-11-19 01:24:15 +0100 (Fri, 19 Nov 2010)
Log Message:
-----------
add directory that will hold the various hooks scripts

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:24:14 UTC (rev 298)
+++ puppet/modules/subversion/manifests/init.pp	2010-11-19 00:24:15 UTC (rev 299)
@@ -12,6 +12,13 @@
         package { "perl-SVN-Notify-Config":
             ensure => installed,
         }
+       
+        $local_dir = "/usr/local/share/subversion/"
+        $local_dirs = ["$local_dir/pre-commit.d", "$local_dir/post-commit.d"] 
+        file { $local_dir:
+            ensure => directory,
+        }
+        # mettre tout les scripts dans le repertoire
 
     }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101119/e421b653/attachment-0001.html>


More information about the Mageia-sysadm mailing list