aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-18 18:42:28 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-18 18:42:28 +0000
commit22c4a64fce4a5ab09c2175d8e0f84ffc52deec86 (patch)
tree15def5358fe9d7033bf023097d7a6c99af076d46
parent1c098673284114613084e978a000cd0100f0f768 (diff)
downloadpuppet-22c4a64fce4a5ab09c2175d8e0f84ffc52deec86.tar
puppet-22c4a64fce4a5ab09c2175d8e0f84ffc52deec86.tar.gz
puppet-22c4a64fce4a5ab09c2175d8e0f84ffc52deec86.tar.bz2
puppet-22c4a64fce4a5ab09c2175d8e0f84ffc52deec86.tar.xz
puppet-22c4a64fce4a5ab09c2175d8e0f84ffc52deec86.zip
ssh_access not needed anymore
-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")
}
}
}