aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/init.pp
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-02-07 18:43:41 +0000
committerNicolas Vigier <boklm@mageia.org>2011-02-07 18:43:41 +0000
commitb5c5034c5efc9b1ee0903df4da6e0b773d427b15 (patch)
tree0a589dc95731ce155e39d86db275498bb824c1ca /modules/buildsystem/manifests/init.pp
parent33f9abe4f64c028a4382c752e1dec83b9620c7e1 (diff)
downloadpuppet-b5c5034c5efc9b1ee0903df4da6e0b773d427b15.tar
puppet-b5c5034c5efc9b1ee0903df4da6e0b773d427b15.tar.gz
puppet-b5c5034c5efc9b1ee0903df4da6e0b773d427b15.tar.bz2
puppet-b5c5034c5efc9b1ee0903df4da6e0b773d427b15.tar.xz
puppet-b5c5034c5efc9b1ee0903df4da6e0b773d427b15.zip
add sudoers config to allow schedbot to run mga-signpackage as signbot
Diffstat (limited to 'modules/buildsystem/manifests/init.pp')
-rw-r--r--modules/buildsystem/manifests/init.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index 4b360f51..83789592 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -73,6 +73,10 @@ class buildsystem {
batchdir => "$sign_home_dir/batches",
keydir => "$sign_home_dir/keys",
}
+
+ sudo::sudoers_config { "signpackage":
+ content => template("buildsystem/sudoers.signpackage")
+ }
}
class scheduler {