aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-08 15:10:01 +0000
committerMichael Scherer <misc@mageia.org>2012-01-08 15:10:01 +0000
commit6e2cc1477b8d6ed0c9a49293652578cf629199d8 (patch)
treeedf5e1b50d622ea7803e267d9890ebfb7c14b5cc
parent54f500e99afea5592c274a17d1519a4db3d983fb (diff)
downloadpuppet-6e2cc1477b8d6ed0c9a49293652578cf629199d8.tar
puppet-6e2cc1477b8d6ed0c9a49293652578cf629199d8.tar.gz
puppet-6e2cc1477b8d6ed0c9a49293652578cf629199d8.tar.bz2
puppet-6e2cc1477b8d6ed0c9a49293652578cf629199d8.tar.xz
puppet-6e2cc1477b8d6ed0c9a49293652578cf629199d8.zip
more refactoring
-rw-r--r--modules/buildsystem/manifests/init.pp20
1 files changed, 6 insertions, 14 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index bbab9fee..2574e20b 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -299,23 +299,15 @@ class buildsystem {
# A script to copy on valstar the 2010.1 rpms built on jonund
class sync20101 inherits base {
- file { "/usr/local/bin/sync2010.1":
- ensure => present,
- owner => root,
- group => root,
- mode => 755,
- content => template("buildsystem/sync2010.1"),
- }
+ local_script { "sync2010.1":
+ content => template("buildsystem/sync2010.1"),
+ }
}
# a script to build 2010.1 packages. used on jonund
class iurt20101 inherits base {
- file { "/usr/local/bin/iurt2010.1":
- ensure => present,
- owner => root,
- group => root,
- mode => 755,
- content => template("buildsystem/iurt2010.1"),
- }
+ local_script { "iurt2010.1":
+ content => template("buildsystem/iurt2010.1"),
+ }
}
}