aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/scheduler.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-16 22:46:59 +0000
committerMichael Scherer <misc@mageia.org>2012-03-16 22:46:59 +0000
commit5cd97b47b6cc63247ac4981ca17199d02cc4914a (patch)
treea7d847693a81adf92b19e391d473b6d52a9d264c /modules/buildsystem/manifests/scheduler.pp
parent1bf4cfab2e28783ebea05e15e88b0769ca7b0f03 (diff)
downloadpuppet-5cd97b47b6cc63247ac4981ca17199d02cc4914a.tar
puppet-5cd97b47b6cc63247ac4981ca17199d02cc4914a.tar.gz
puppet-5cd97b47b6cc63247ac4981ca17199d02cc4914a.tar.bz2
puppet-5cd97b47b6cc63247ac4981ca17199d02cc4914a.tar.xz
puppet-5cd97b47b6cc63247ac4981ca17199d02cc4914a.zip
move sched_login creation to the scheduler class ( since that's where it belong logically )
Diffstat (limited to 'modules/buildsystem/manifests/scheduler.pp')
-rw-r--r--modules/buildsystem/manifests/scheduler.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/scheduler.pp b/modules/buildsystem/manifests/scheduler.pp
index 1b3d32d5..bf4709c3 100644
--- a/modules/buildsystem/manifests/scheduler.pp
+++ b/modules/buildsystem/manifests/scheduler.pp
@@ -2,4 +2,11 @@ class buildsystem::scheduler {
# until ulri is splitted from main iurt rpm
include iurt::package
include iurt::upload
+ $login = $buildsystem::base::sched_login
+ $homedir = $buildsystem::base::sched_home_dir
+
+ sshuser { $login:
+ homedir => $homedir,
+ comment => 'System user used to schedule builds',
+ }
}