aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/iurt/user.pp
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-22 22:16:40 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-22 22:16:40 +0000
commit972b423e17b15448e7d4b2d34cc7d2ba494369f7 (patch)
treeb72cfaac36732cb4dd5510898e62cd2eb8dd3046 /modules/buildsystem/manifests/iurt/user.pp
parent1efaa9bd8b535e1bb0ef19576f85ca6e114c3227 (diff)
downloadpuppet-972b423e17b15448e7d4b2d34cc7d2ba494369f7.tar
puppet-972b423e17b15448e7d4b2d34cc7d2ba494369f7.tar.gz
puppet-972b423e17b15448e7d4b2d34cc7d2ba494369f7.tar.bz2
puppet-972b423e17b15448e7d4b2d34cc7d2ba494369f7.tar.xz
puppet-972b423e17b15448e7d4b2d34cc7d2ba494369f7.zip
Add buildsystem::var::iurt
This class is used for iurt settings.
Diffstat (limited to 'modules/buildsystem/manifests/iurt/user.pp')
-rw-r--r--modules/buildsystem/manifests/iurt/user.pp7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/buildsystem/manifests/iurt/user.pp b/modules/buildsystem/manifests/iurt/user.pp
index b169ee2d..0da84743 100644
--- a/modules/buildsystem/manifests/iurt/user.pp
+++ b/modules/buildsystem/manifests/iurt/user.pp
@@ -1,9 +1,8 @@
class buildsystem::iurt::user {
- $login = 'iurt'
- $homedir = "/home/$login"
+ include buildsystem::var::iurt
- buildsystem::sshuser { $login:
- homedir => $homedir,
+ buildsystem::sshuser { $buildsystem::var::iurt::login:
+ homedir => $buildsystem::var::iurt::homedir,
comment => 'System user used to run build bots',
}