aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-08 12:54:28 +0000
committerMichael Scherer <misc@mageia.org>2012-01-08 12:54:28 +0000
commit90f5c3ad427e92f4a49497d03111c376a03c1297 (patch)
tree059ec1d770311a2f8339c6e4ceb2eb9987c9c9fb
parent19d78719398d32547398bdc208861e61f7ac1b4c (diff)
downloadpuppet-90f5c3ad427e92f4a49497d03111c376a03c1297.tar
puppet-90f5c3ad427e92f4a49497d03111c376a03c1297.tar.gz
puppet-90f5c3ad427e92f4a49497d03111c376a03c1297.tar.bz2
puppet-90f5c3ad427e92f4a49497d03111c376a03c1297.tar.xz
puppet-90f5c3ad427e92f4a49497d03111c376a03c1297.zip
use the new local_script type to deploy mgacreatehome
-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")
- }
+ }
}
}
-