aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-08 15:20:28 +0000
committerMichael Scherer <misc@mageia.org>2012-01-08 15:20:28 +0000
commit448ae6d68ed2826bd47bda336138fbe3221523c8 (patch)
tree323f6cc7f1626745245b8028bc3fcbdd6ccfb45e /modules/buildsystem
parent731b390eb1911d27e2685b431fb8a5ce19e41daa (diff)
downloadpuppet-448ae6d68ed2826bd47bda336138fbe3221523c8.tar
puppet-448ae6d68ed2826bd47bda336138fbe3221523c8.tar.gz
puppet-448ae6d68ed2826bd47bda336138fbe3221523c8.tar.bz2
puppet-448ae6d68ed2826bd47bda336138fbe3221523c8.tar.xz
puppet-448ae6d68ed2826bd47bda336138fbe3221523c8.zip
refactoring local_script declaration
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/manifests/init.pp9
1 files changed, 3 insertions, 6 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index 6b6d8eb1..978c27c3 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -128,12 +128,9 @@ class buildsystem {
owner => $binrepo_login,
}
- local_script { "upload-bin":
- content => template('buildsystem/upload-bin'),
- }
-
- local_script { "wrapper.upload-bin":
- content => template('buildsystem/wrapper.upload-bin'),
+ local_script {
+ "upload-bin": content => template('buildsystem/upload-bin');
+ "wrapper.upload-bin": content => template('buildsystem/wrapper.upload-bin');
}
sudo::sudoers_config { "binrepo":