aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-19 00:55:01 +0000
committerMichael Scherer <misc@mageia.org>2010-11-19 00:55:01 +0000
commit3df909daec44f090d1d616a2c57803f336826d6d (patch)
tree8658e69b13373200cce55fc22463248d06063b6a /modules/subversion/manifests
parente85183de9dd329ef83eb2f7a2fe67c3e79733bb9 (diff)
downloadpuppet-3df909daec44f090d1d616a2c57803f336826d6d.tar
puppet-3df909daec44f090d1d616a2c57803f336826d6d.tar.gz
puppet-3df909daec44f090d1d616a2c57803f336826d6d.tar.bz2
puppet-3df909daec44f090d1d616a2c57803f336826d6d.tar.xz
puppet-3df909daec44f090d1d616a2c57803f336826d6d.zip
- fix the condition of the svn creation
Diffstat (limited to 'modules/subversion/manifests')
-rw-r--r--modules/subversion/manifests/init.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp
index 059e9454..f11ef087 100644
--- a/modules/subversion/manifests/init.pp
+++ b/modules/subversion/manifests/init.pp
@@ -76,12 +76,13 @@ class subversion {
# check permissions
# http://svnbook.red-bean.com/nightly/fr/svn.serverconfig.multimethod.html
# $name ==> directory of the repo
-
+ include subversion::server
# TODO set umask -> requires puppet 2.7.0
exec { "svnadmin create $name":
user => root,
group => $group,
- creates => $name
+ creates => "$name/hooks",
+ require => Package['subversion-tools'],
}
# # TODO complete documentation
#