diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-19 00:59:58 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-19 00:59:58 +0000 |
commit | 6f81ff0a161569695003caa8dd20afc15d60fac2 (patch) | |
tree | 314e60eecd0aa289c311ddb033dcb73420a2dc95 /modules/subversion | |
parent | ac5fdb8d35b53a93f70a2190017e140f53921150 (diff) | |
download | puppet-6f81ff0a161569695003caa8dd20afc15d60fac2.tar puppet-6f81ff0a161569695003caa8dd20afc15d60fac2.tar.gz puppet-6f81ff0a161569695003caa8dd20afc15d60fac2.tar.bz2 puppet-6f81ff0a161569695003caa8dd20afc15d60fac2.tar.xz puppet-6f81ff0a161569695003caa8dd20afc15d60fac2.zip |
- add some requires for ordering of the transaction
Diffstat (limited to 'modules/subversion')
-rw-r--r-- | modules/subversion/manifests/init.pp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp index 8f03fa7c..2bc257fd 100644 --- a/modules/subversion/manifests/init.pp +++ b/modules/subversion/manifests/init.pp @@ -128,7 +128,8 @@ class subversion { owner => root, group => root, mode => 755, - content => template("subversion/hook_commit.sh") + content => template("subversion/hook_commit.sh"), + require => Exec["svnadmin create $name"], } file { ["$name/hooks/post-commit.d", "$name/hooks/pre-commit.d"]: @@ -136,6 +137,7 @@ class subversion { owner => root, group => root, mode => 755, + require => Exec["svnadmin create $name"], } if $commit_mail { @@ -144,7 +146,8 @@ class subversion { owner => root, group => root, mode => 755, - content => template("subversion/hook_sendmail.pl") + content => template("subversion/hook_sendmail.pl"), + require => [Exec["svnadmin create $name"], Package['perl-SVN-Notify-Config']], } } @@ -154,7 +157,8 @@ class subversion { owner => root, group => root, mode => 755, - content => template("subversion/hook_extract.pl") + content => template("subversion/hook_extract.pl"), + require => Exec["svnadmin create $name"], } } |