diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-05-22 22:16:40 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-05-22 22:16:40 +0000 |
commit | 972b423e17b15448e7d4b2d34cc7d2ba494369f7 (patch) | |
tree | b72cfaac36732cb4dd5510898e62cd2eb8dd3046 /modules/buildsystem/manifests/iurt.pp | |
parent | 1efaa9bd8b535e1bb0ef19576f85ca6e114c3227 (diff) | |
download | puppet-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.pp')
-rw-r--r-- | modules/buildsystem/manifests/iurt.pp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/buildsystem/manifests/iurt.pp b/modules/buildsystem/manifests/iurt.pp index e0856a23..3a428127 100644 --- a/modules/buildsystem/manifests/iurt.pp +++ b/modules/buildsystem/manifests/iurt.pp @@ -2,13 +2,12 @@ class buildsystem::iurt { include sudo include buildsystem::iurt::user include buildsystem::iurt::packages - $login = $buildsystem::iurt::user::login - $homedir = $buildsystem::iurt::user::homedir + include buildsystem::var::iurt - ssh::auth::client { $login: } + ssh::auth::client { $buildsystem::var::iurt::login: } # remove old build directory - tidy { "$homedir/iurt": + tidy { "${buildsystem::var::iurt::homedir}/iurt": age => '8w', recurse => true, matches => ['[0-9][0-9].*\..*\..*\.[0-9]*','log','*.rpm','*.log','*.mga[0-9]+'], |