aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-04-19 09:50:07 +0000
committerMichael Scherer <misc@mageia.org>2011-04-19 09:50:07 +0000
commit7274699679620a71f7ce1d96facccdb4c0e2845e (patch)
tree1586e0cbe459aee8edb1908c6df96723c9e67022
parent7f9fd57f45bce025621cd9efdd8e819542591c50 (diff)
downloadpuppet-7274699679620a71f7ce1d96facccdb4c0e2845e.tar
puppet-7274699679620a71f7ce1d96facccdb4c0e2845e.tar.gz
puppet-7274699679620a71f7ce1d96facccdb4c0e2845e.tar.bz2
puppet-7274699679620a71f7ce1d96facccdb4c0e2845e.tar.xz
puppet-7274699679620a71f7ce1d96facccdb4c0e2845e.zip
- also do make sure that the phpbb_apply can be declared multiple time
-rw-r--r--modules/phpbb/manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/phpbb/manifests/init.pp b/modules/phpbb/manifests/init.pp
index 3bc8dd7f..c227afac 100644
--- a/modules/phpbb/manifests/init.pp
+++ b/modules/phpbb/manifests/init.pp
@@ -53,7 +53,8 @@ class phpbb {
}
define phpbb_config($key, $value) {
- exec { "/usr/local/bin/phpbb_apply_config.pl $key":
+ exec { "phpbb_apply $name":
+ command => "/usr/local/bin/phpbb_apply_config.pl $key",
user => root,
environment => ["PGDATABASE=$phpbb::base::database",
"PGUSER=$phpbb::base::user",