aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-19 00:59:57 +0000
committerMichael Scherer <misc@mageia.org>2010-11-19 00:59:57 +0000
commitac5fdb8d35b53a93f70a2190017e140f53921150 (patch)
tree7961d89d1e325fb60691176ec2b68b0e3ca05fb4
parentb2ed23e21623ff4f7a2d60c4d8224a477bea6a93 (diff)
downloadpuppet-ac5fdb8d35b53a93f70a2190017e140f53921150.tar
puppet-ac5fdb8d35b53a93f70a2190017e140f53921150.tar.gz
puppet-ac5fdb8d35b53a93f70a2190017e140f53921150.tar.bz2
puppet-ac5fdb8d35b53a93f70a2190017e140f53921150.tar.xz
puppet-ac5fdb8d35b53a93f70a2190017e140f53921150.zip
- rewrite the others part too, for same reason ( arrays that do not work like I believed )
-rw-r--r--modules/subversion/manifests/init.pp6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp
index 6b11eb8a..8f03fa7c 100644
--- a/modules/subversion/manifests/init.pp
+++ b/modules/subversion/manifests/init.pp
@@ -123,8 +123,7 @@ class subversion {
ensure => directory
}
- $hooks = ["$name/hooks/pre-commit","$name/hooks/post-commit"]
- file { "$hooks":
+ file { ["$name/hooks/pre-commit","$name/hooks/post-commit"]:
ensure => present,
owner => root,
group => root,
@@ -132,8 +131,7 @@ class subversion {
content => template("subversion/hook_commit.sh")
}
- $hooks_dir = ["$name/hooks/pre-commit.d","$name/hooks/post-commit.d"]
- file { "$hooks_dir":
+ file { ["$name/hooks/post-commit.d", "$name/hooks/pre-commit.d"]:
ensure => directory,
owner => root,
group => root,