aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/buildnode.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem/manifests/buildnode.pp')
-rw-r--r--modules/buildsystem/manifests/buildnode.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/buildsystem/manifests/buildnode.pp b/modules/buildsystem/manifests/buildnode.pp
index 56230f68..997dba2f 100644
--- a/modules/buildsystem/manifests/buildnode.pp
+++ b/modules/buildsystem/manifests/buildnode.pp
@@ -4,8 +4,9 @@ class buildsystem::buildnode {
include buildsystem::var::iurt
include buildsystem::sshkeys
- # permit to scheduler to run iurt
- ssh::auth::server { $buildsystem::var::scheduler::login:
+ sshkeys::set_authorized_keys { 'iurt-allow-scheduler':
+ keyname => $buildsystem::var::scheduler::login,
+ home => $buildsystem::var::iurt::homedir,
user => $buildsystem::var::iurt::login,
}
}