aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bcd/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bcd/manifests/init.pp')
-rw-r--r--modules/bcd/manifests/init.pp18
1 files changed, 4 insertions, 14 deletions
diff --git a/modules/bcd/manifests/init.pp b/modules/bcd/manifests/init.pp
index d2a8d13f..428321cd 100644
--- a/modules/bcd/manifests/init.pp
+++ b/modules/bcd/manifests/init.pp
@@ -1,33 +1,23 @@
class bcd {
class variable {
-
$bcd_login = 'bcd'
$bcd_home = '/home/bcd'
}
class base inherits variable {
- include sudo
+ include sudo
buildsystem::sshuser { $bcd_login:
homedir => $bcd_home,
comment => "User for creating ISOs",
- }
+ }
package { bcd:
- ensure => 'installed',
+ ensure => 'installed',
}
sudo::sudoers_config { "bcd":
- content => template("bcd/sudoers.bcd")
- }
- }
-
- define ssh_access($type, $key) {
- include bcd::variable
- ssh_authorized_key{$name:
- type => $type,
- key => $key,
- user => $bcd_login,
+ content => template("bcd/sudoers.bcd")
}
}
}