aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/iurt/user.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-16 22:46:23 +0000
committerMichael Scherer <misc@mageia.org>2012-03-16 22:46:23 +0000
commitb74151bf723df3fcadf24d2f6e00401bb69c1020 (patch)
treeca67dcadb418e482472167cca393fb4ac5a1b5b3 /modules/buildsystem/manifests/iurt/user.pp
parent31adbee69aa33150bd8016837b85646a948f8ad7 (diff)
downloadpuppet-b74151bf723df3fcadf24d2f6e00401bb69c1020.tar
puppet-b74151bf723df3fcadf24d2f6e00401bb69c1020.tar.gz
puppet-b74151bf723df3fcadf24d2f6e00401bb69c1020.tar.bz2
puppet-b74151bf723df3fcadf24d2f6e00401bb69c1020.tar.xz
puppet-b74151bf723df3fcadf24d2f6e00401bb69c1020.zip
refactor completely iurt module ( maybe should even be moved out of buildsystem
module, since it tend to be too big )
Diffstat (limited to 'modules/buildsystem/manifests/iurt/user.pp')
-rw-r--r--modules/buildsystem/manifests/iurt/user.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/iurt/user.pp b/modules/buildsystem/manifests/iurt/user.pp
new file mode 100644
index 00000000..a70c25c1
--- /dev/null
+++ b/modules/buildsystem/manifests/iurt/user.pp
@@ -0,0 +1,13 @@
+class buildsystem::iurt::user {
+ $login = 'iurt'
+ $homedir = "/home/$login"
+
+ sshuser { $login:
+ homedir => $homedir,
+ comment => 'System user used to run build bots',
+ }
+
+ file { '/etc/iurt':
+ ensure => directory,
+ }
+}