aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bcd/templates
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-12 16:42:08 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-12 16:42:08 +0000
commit4b7555c3ab1acc64350d04bfdd4f9858d4d5679b (patch)
tree3cab07f7cde735903e8d29fc0d7ba6be1fb3d68a /modules/bcd/templates
parent9002fb045e482c870587486955034f32074289e3 (diff)
downloadpuppet-4b7555c3ab1acc64350d04bfdd4f9858d4d5679b.tar
puppet-4b7555c3ab1acc64350d04bfdd4f9858d4d5679b.tar.gz
puppet-4b7555c3ab1acc64350d04bfdd4f9858d4d5679b.tar.bz2
puppet-4b7555c3ab1acc64350d04bfdd4f9858d4d5679b.tar.xz
puppet-4b7555c3ab1acc64350d04bfdd4f9858d4d5679b.zip
add bcd module
Diffstat (limited to 'modules/bcd/templates')
-rw-r--r--modules/bcd/templates/sudoers.bcd6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/bcd/templates/sudoers.bcd b/modules/bcd/templates/sudoers.bcd
new file mode 100644
index 00000000..2c38fab5
--- /dev/null
+++ b/modules/bcd/templates/sudoers.bcd
@@ -0,0 +1,6 @@
+<%= bcd_login %> ALL=(root) NOPASSWD:/bin/mount, /bin/umount, \
+/usr/sbin/chroot, \
+/usr/sbin/urpmi, \
+/usr/sbin/urpmi.addmedia, \
+/usr/sbin/urpmi.removemedia, \
+/bin/rm