aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bcd
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bcd')
-rw-r--r--modules/bcd/manifests/init.pp17
1 files changed, 7 insertions, 10 deletions
diff --git a/modules/bcd/manifests/init.pp b/modules/bcd/manifests/init.pp
index 3ef04c12..d2a8d13f 100644
--- a/modules/bcd/manifests/init.pp
+++ b/modules/bcd/manifests/init.pp
@@ -9,18 +9,15 @@ class bcd {
include sudo
buildsystem::sshuser { $bcd_login:
- homedir => $bcd_home,
- comment => "User for creating ISOs",
- }
+ homedir => $bcd_home,
+ comment => "User for creating ISOs",
+ }
- package { bcd:
- ensure => 'installed',
- }
+ package { bcd:
+ ensure => 'installed',
+ }
- file { "/etc/sudoers.d/bcd":
- owner => root,
- group => root,
- mode => 440,
+ sudo::sudoers_config { "bcd":
content => template("bcd/sudoers.bcd")
}
}