aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-19 00:24:15 +0000
committerMichael Scherer <misc@mageia.org>2010-11-19 00:24:15 +0000
commita521cc97e451034eac7e4aef302a00cbd20876a9 (patch)
treef11bde9915397940463aab5a31b292cd1a2f60b0
parent5c25e9f7b1031d81c6beb2de63a9102ff4f5c8cc (diff)
downloadpuppet-a521cc97e451034eac7e4aef302a00cbd20876a9.tar
puppet-a521cc97e451034eac7e4aef302a00cbd20876a9.tar.gz
puppet-a521cc97e451034eac7e4aef302a00cbd20876a9.tar.bz2
puppet-a521cc97e451034eac7e4aef302a00cbd20876a9.tar.xz
puppet-a521cc97e451034eac7e4aef302a00cbd20876a9.zip
add directory that will hold the various hooks scripts
-rw-r--r--modules/subversion/manifests/init.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp
index 00eeb50a..499b504b 100644
--- a/modules/subversion/manifests/init.pp
+++ b/modules/subversion/manifests/init.pp
@@ -12,6 +12,13 @@ class subversion {
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
}