diff options
author | Michael Scherer <misc@mageia.org> | 2012-02-16 17:30:29 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-02-16 17:30:29 +0000 |
commit | 12551d6f309fe6355f6d8191d176ecb01fb0d49a (patch) | |
tree | 4bff058fec3873c0177f04e812e7d11cefddb062 | |
parent | e98ad7d5ab10f5c72bcecba83d849598ac58a7e7 (diff) | |
download | puppet-12551d6f309fe6355f6d8191d176ecb01fb0d49a.tar puppet-12551d6f309fe6355f6d8191d176ecb01fb0d49a.tar.gz puppet-12551d6f309fe6355f6d8191d176ecb01fb0d49a.tar.bz2 puppet-12551d6f309fe6355f6d8191d176ecb01fb0d49a.tar.xz puppet-12551d6f309fe6355f6d8191d176ecb01fb0d49a.zip |
split iurtuser in a separate file to please puppet-lint
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 11 | ||||
-rw-r--r-- | modules/buildsystem/manifests/iurtuser.pp | 12 |
2 files changed, 12 insertions, 11 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp index 19060968..1a110f4a 100644 --- a/modules/buildsystem/manifests/init.pp +++ b/modules/buildsystem/manifests/init.pp @@ -201,17 +201,6 @@ class buildsystem { } } - class iurtuser { - sshuser { $build_login: - homedir => $build_home_dir, - comment => "System user used to run build bots", - } - - file { "/etc/iurt": - ensure => "directory", - } - } - # A script to copy on valstar the 2010.1 rpms built on jonund class sync20101 inherits base { local_script { "sync2010.1": diff --git a/modules/buildsystem/manifests/iurtuser.pp b/modules/buildsystem/manifests/iurtuser.pp new file mode 100644 index 00000000..8afce2ef --- /dev/null +++ b/modules/buildsystem/manifests/iurtuser.pp @@ -0,0 +1,12 @@ +class buildsystem::iurtuser { + sshuser { $buildsystem::base::build_login: + homedir => $buildsystem::base::build_home_dir, + comment => 'System user used to run build bots', + } + + file { '/etc/iurt': + ensure => directory, + } +} + + |