aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2010-11-22 00:13:16 +0000
committerOlivier Blin <blino@mageia.org>2010-11-22 00:13:16 +0000
commitdc4f9763c08806d7fcf7865af4c8aa14f78ca7b1 (patch)
tree18843c257fe8a76eabd535078176883dd4b7a666 /modules
parenta57c16dd737cd3bf871d4dfa6bbadc675ec3cff2 (diff)
downloadpuppet-dc4f9763c08806d7fcf7865af4c8aa14f78ca7b1.tar
puppet-dc4f9763c08806d7fcf7865af4c8aa14f78ca7b1.tar.gz
puppet-dc4f9763c08806d7fcf7865af4c8aa14f78ca7b1.tar.bz2
puppet-dc4f9763c08806d7fcf7865af4c8aa14f78ca7b1.tar.xz
puppet-dc4f9763c08806d7fcf7865af4c8aa14f78ca7b1.zip
iurt from mainnode does not need the private ssh key
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/manifests/init.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index 41adb4ea..e78468f2 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -3,10 +3,14 @@ class buildsystem {
class base {
$build_login = "iurt"
$build_home_dir = "/home/iurt/"
+
+ include ssh::auth
+ ssh::auth::key { $build_login: } # declare a key for build bot: RSA, 2048 bits
}
class mainnode inherits base {
include iurtuser
+ ssh::auth::server { $build_login: }
package { "task-bs-cluster-main":
ensure => "installed"
@@ -45,15 +49,12 @@ class buildsystem {
gid => $build_login,
shell => "/bin/bash",
}
-
- include ssh::auth
- ssh::auth::key { $build_login: } # declare a key for build bot: RSA, 2048 bits
- ssh::auth::client { $build_login: }
}
class iurt {
include sudo
include iurtuser
+ ssh::auth::client { $build_login: }
# build node common settings
# we could have the following skip list to use less space: