aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/buildsystem/manifests/mgacreatehome.pp9
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/buildsystem/manifests/mgacreatehome.pp b/modules/buildsystem/manifests/mgacreatehome.pp
index bf1c6c1d..04e7de54 100644
--- a/modules/buildsystem/manifests/mgacreatehome.pp
+++ b/modules/buildsystem/manifests/mgacreatehome.pp
@@ -2,13 +2,8 @@ class buildsystem {
# temporary script to create home dir with ssh key
# taking login and url as arguments
class mgacreatehome {
- file { "/usr/local/sbin/mgacreatehome":
- ensure => present,
- owner => root,
- group => root,
- mode => 700,
+ local_script { "mgacreatehome":
content => template("buildsystem/mgacreatehome")
- }
+ }
}
}
-