diff options
author | Michael Scherer <misc@mageia.org> | 2012-03-16 22:46:59 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-03-16 22:46:59 +0000 |
commit | 5cd97b47b6cc63247ac4981ca17199d02cc4914a (patch) | |
tree | a7d847693a81adf92b19e391d473b6d52a9d264c /modules/buildsystem/manifests/scheduler.pp | |
parent | 1bf4cfab2e28783ebea05e15e88b0769ca7b0f03 (diff) | |
download | puppet-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.pp | 7 |
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', + } } |