diff options
author | Michael Scherer <misc@mageia.org> | 2012-01-08 12:54:28 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-01-08 12:54:28 +0000 |
commit | 90f5c3ad427e92f4a49497d03111c376a03c1297 (patch) | |
tree | 059ec1d770311a2f8339c6e4ceb2eb9987c9c9fb | |
parent | 19d78719398d32547398bdc208861e61f7ac1b4c (diff) | |
download | puppet-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.pp | 9 |
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") - } + } } } - |