aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-08 17:39:06 +0000
committerMichael Scherer <misc@mageia.org>2012-01-08 17:39:06 +0000
commit3e6f60ba018b26a1665a4f8077ab439dc6199503 (patch)
tree7bc8df8c5596eecba1943e68681785cc6891a456 /modules
parent9e27fe5a3136920013a1eda4de56e9c98616173e (diff)
downloadpuppet-3e6f60ba018b26a1665a4f8077ab439dc6199503.tar
puppet-3e6f60ba018b26a1665a4f8077ab439dc6199503.tar.gz
puppet-3e6f60ba018b26a1665a4f8077ab439dc6199503.tar.bz2
puppet-3e6f60ba018b26a1665a4f8077ab439dc6199503.tar.xz
puppet-3e6f60ba018b26a1665a4f8077ab439dc6199503.zip
refactoring and removing values already set by default
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/manifests/mgarepo.pp17
1 files changed, 3 insertions, 14 deletions
diff --git a/modules/buildsystem/manifests/mgarepo.pp b/modules/buildsystem/manifests/mgarepo.pp
index 2d833ae7..c4747e3c 100644
--- a/modules/buildsystem/manifests/mgarepo.pp
+++ b/modules/buildsystem/manifests/mgarepo.pp
@@ -2,20 +2,9 @@ class buildsystem {
class mgarepo {
package { ['mgarepo','rpm-build']: }
- file { "mgarepo.conf":
- path => "/etc/mgarepo.conf",
- owner => root,
- group => root,
- mode => 644,
- content => template("buildsystem/mgarepo.conf")
- }
-
- file { "repsys.conf":
- path => "/etc/repsys.conf",
- owner => root,
- group => root,
- mode => 644,
- content => template("buildsystem/mgarepo.conf")
+ file {
+ "/etc/mgarepo.conf": content => template("buildsystem/mgarepo.conf");
+ "/etc/repsys.conf": content => template("buildsystem/mgarepo.conf");
}
file { "$packages_archivedir":