aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-08 15:51:42 +0000
committerMichael Scherer <misc@mageia.org>2012-01-08 15:51:42 +0000
commitc761ea7ca8518aee3a77a69c6de7d6f63e69a065 (patch)
treeb5fd78c2a44a50732ab9ea2128a4cd0c306662e4 /modules/buildsystem
parent262c33b2229c12f0d5a0329ebaad34e357d26510 (diff)
downloadpuppet-c761ea7ca8518aee3a77a69c6de7d6f63e69a065.tar
puppet-c761ea7ca8518aee3a77a69c6de7d6f63e69a065.tar.gz
puppet-c761ea7ca8518aee3a77a69c6de7d6f63e69a065.tar.bz2
puppet-c761ea7ca8518aee3a77a69c6de7d6f63e69a065.tar.xz
puppet-c761ea7ca8518aee3a77a69c6de7d6f63e69a065.zip
refactor local_script declaration
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/manifests/signbot.pp9
1 files changed, 3 insertions, 6 deletions
diff --git a/modules/buildsystem/manifests/signbot.pp b/modules/buildsystem/manifests/signbot.pp
index 8d1c4c52..36106584 100644
--- a/modules/buildsystem/manifests/signbot.pp
+++ b/modules/buildsystem/manifests/signbot.pp
@@ -31,12 +31,9 @@ class buildsystem {
content => template("buildsystem/signbot/signbot-rpmmacros")
}
- local_script { "sign-check-package":
- content => template("buildsystem/signbot/sign-check-package")
- }
-
- local_script { "mga-signpackage":
- content => template("buildsystem/signbot/mga-signpackage")
+ local_script {
+ "sign-check-package": content => template("buildsystem/signbot/sign-check-package");
+ "mga-signpackage": content => template("buildsystem/signbot/mga-signpackage");
}
}
}