From 1cffbe5dbd523bb3326590867f7c3a5a0f4defbe Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sat, 29 Jan 2011 15:48:13 +0000 Subject: specify homedir when creating ssh key --- modules/buildsystem/manifests/init.pp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'modules') 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 { -- cgit v1.2.1