aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bcd
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-18 18:49:36 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-18 18:49:36 +0000
commit408cdb97d6bfe11de54410fe2e8bc14e4e23c414 (patch)
tree64c236dfb0d53b3b5e7aaf12f9fd74a1136ef145 /modules/bcd
parent22c4a64fce4a5ab09c2175d8e0f84ffc52deec86 (diff)
downloadpuppet-408cdb97d6bfe11de54410fe2e8bc14e4e23c414.tar
puppet-408cdb97d6bfe11de54410fe2e8bc14e4e23c414.tar.gz
puppet-408cdb97d6bfe11de54410fe2e8bc14e4e23c414.tar.bz2
puppet-408cdb97d6bfe11de54410fe2e8bc14e4e23c414.tar.xz
puppet-408cdb97d6bfe11de54410fe2e8bc14e4e23c414.zip
members of mga-iso_makers group can use bcd account
Diffstat (limited to 'modules/bcd')
-rw-r--r--modules/bcd/manifests/init.pp1
-rw-r--r--modules/bcd/templates/sudoers.bcd2
2 files changed, 3 insertions, 0 deletions
diff --git a/modules/bcd/manifests/init.pp b/modules/bcd/manifests/init.pp
index 428321cd..d3855258 100644
--- a/modules/bcd/manifests/init.pp
+++ b/modules/bcd/manifests/init.pp
@@ -2,6 +2,7 @@ class bcd {
class variable {
$bcd_login = 'bcd'
$bcd_home = '/home/bcd'
+ $isomakers_group = 'mga-iso_makers'
}
class base inherits variable {
diff --git a/modules/bcd/templates/sudoers.bcd b/modules/bcd/templates/sudoers.bcd
index 2c38fab5..5649a24f 100644
--- a/modules/bcd/templates/sudoers.bcd
+++ b/modules/bcd/templates/sudoers.bcd
@@ -4,3 +4,5 @@
/usr/sbin/urpmi.addmedia, \
/usr/sbin/urpmi.removemedia, \
/bin/rm
+
+%<%= isomakers_group %> ALL=(<%= bcd_login %>) SETENV: NOPASSWD: ALL