aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/maintdb.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-08 13:11:47 +0000
committerMichael Scherer <misc@mageia.org>2012-01-08 13:11:47 +0000
commit39c34b875da87e4ef8e979936464bd8eaa10ca21 (patch)
tree8b4cdd42333b19dcb2214ba02b46d59785325b7c /modules/buildsystem/manifests/maintdb.pp
parent90f5c3ad427e92f4a49497d03111c376a03c1297 (diff)
downloadpuppet-39c34b875da87e4ef8e979936464bd8eaa10ca21.tar
puppet-39c34b875da87e4ef8e979936464bd8eaa10ca21.tar.gz
puppet-39c34b875da87e4ef8e979936464bd8eaa10ca21.tar.bz2
puppet-39c34b875da87e4ef8e979936464bd8eaa10ca21.tar.xz
puppet-39c34b875da87e4ef8e979936464bd8eaa10ca21.zip
slightly simplify the module, by dropping 1 variable and using local_script
Diffstat (limited to 'modules/buildsystem/manifests/maintdb.pp')
-rw-r--r--modules/buildsystem/manifests/maintdb.pp4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/buildsystem/manifests/maintdb.pp b/modules/buildsystem/manifests/maintdb.pp
index f1c1168b..43e65cc9 100644
--- a/modules/buildsystem/manifests/maintdb.pp
+++ b/modules/buildsystem/manifests/maintdb.pp
@@ -5,7 +5,6 @@ class buildsystem {
$homedir = "/var/lib/maintdb"
$dbdir = "$homedir/db"
$binpath = "/usr/local/sbin/maintdb"
- $wrappath = "/usr/local/bin/wrapper.maintdb"
$dump = "/var/www/bs/data/maintdb.txt"
$unmaintained = "/var/www/bs/data/unmaintained.txt"
@@ -30,8 +29,7 @@ class buildsystem {
content => template("buildsystem/maintdb/maintdb.bin")
}
- file { "$wrappath":
- mode => 755,
+ local_script { "wrapper.maintdb":
content => template("buildsystem/maintdb/wrapper.maintdb")
}