aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-07 22:06:47 +0000
committerMichael Scherer <misc@mageia.org>2012-01-07 22:06:47 +0000
commit150294b56cb4824444903d67908c0ab14baccb71 (patch)
tree848ff30615a507d3f0c42760c91fed6539f5f6f7 /modules
parentd2672e1d60cd3a439ae8d6eb698f346b49fd3135 (diff)
downloadpuppet-150294b56cb4824444903d67908c0ab14baccb71.tar
puppet-150294b56cb4824444903d67908c0ab14baccb71.tar.gz
puppet-150294b56cb4824444903d67908c0ab14baccb71.tar.bz2
puppet-150294b56cb4824444903d67908c0ab14baccb71.tar.xz
puppet-150294b56cb4824444903d67908c0ab14baccb71.zip
refactoring of file
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/manifests/signbot.pp11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/buildsystem/manifests/signbot.pp b/modules/buildsystem/manifests/signbot.pp
index 576a49c0..460e2c09 100644
--- a/modules/buildsystem/manifests/signbot.pp
+++ b/modules/buildsystem/manifests/signbot.pp
@@ -27,21 +27,20 @@ class buildsystem {
content => template("buildsystem/sudoers.signpackage")
}
- file { "$sign_home_dir/.rpmmacros":
- ensure => present,
+ File {
+ ensure => present,
owner => root,
group => root,
+ }
+
+ file { "$sign_home_dir/.rpmmacros":
mode => 644,
content => template("buildsystem/signbot-rpmmacros")
}
file { "/usr/local/bin/sign-check-package":
- ensure => present,
- owner => root,
- group => root,
mode => 755,
content => template("buildsystem/sign-check-package")
}
}
}
-