aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-29 15:48:13 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-29 15:48:13 +0000
commit1cffbe5dbd523bb3326590867f7c3a5a0f4defbe (patch)
treebb3469bdc834b8f8248046c1e1cd8e5d1cb75672
parenteb8bad2624e7e87c39ff29df1bdb3f900ccc9c3c (diff)
downloadpuppet-1cffbe5dbd523bb3326590867f7c3a5a0f4defbe.tar
puppet-1cffbe5dbd523bb3326590867f7c3a5a0f4defbe.tar.gz
puppet-1cffbe5dbd523bb3326590867f7c3a5a0f4defbe.tar.bz2
puppet-1cffbe5dbd523bb3326590867f7c3a5a0f4defbe.tar.xz
puppet-1cffbe5dbd523bb3326590867f7c3a5a0f4defbe.zip
specify homedir when creating ssh key
-rw-r--r--modules/buildsystem/manifests/init.pp8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index f360ea93..c153211e 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -12,8 +12,12 @@ class buildsystem {
$createsrpm_path = '/usr/share/repsys/create-srpm'
include ssh::auth
- ssh::auth::key { $build_login: } # declare a key for build bot: RSA, 2048 bits
- ssh::auth::key { $sched_login: } # declare a key for sched bot: RSA, 2048 bits
+ ssh::auth::key { $build_login: # declare a key for build bot: RSA, 2048 bits
+ home => $build_home_dir,
+ }
+ ssh::auth::key { $sched_login: # declare a key for sched bot: RSA, 2048 bits
+ home => $sched_home_dir,
+ }
}
class mainnode inherits base {