Modified: puppet/modules/bcd/manifests/init.pp =================================================================== --- puppet/modules/bcd/manifests/init.pp 2011-01-18 18:37:14 UTC (rev 847) +++ puppet/modules/bcd/manifests/init.pp 2011-01-18 18:42:28 UTC (rev 848) @@ -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") + content => template("bcd/sudoers.bcd") } } - - define ssh_access($type, $key) { - include bcd::variable - ssh_authorized_key{$name: - type => $type, - key => $key, - user => $bcd_login, - } - } }