aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-mirrors
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-08 22:30:49 +0000
committerMichael Scherer <misc@mageia.org>2012-01-08 22:30:49 +0000
commit40f0b9a4ed6ee8734a6a5fde357b10a37d6c2aed (patch)
treee9edee4f8b81bf22e4092f7368568d45f98bc4ba /modules/mga-mirrors
parentdf7e04bfec0ad1a7ea284fcabe3dd25cb6b776e7 (diff)
downloadpuppet-40f0b9a4ed6ee8734a6a5fde357b10a37d6c2aed.tar
puppet-40f0b9a4ed6ee8734a6a5fde357b10a37d6c2aed.tar.gz
puppet-40f0b9a4ed6ee8734a6a5fde357b10a37d6c2aed.tar.bz2
puppet-40f0b9a4ed6ee8734a6a5fde357b10a37d6c2aed.tar.xz
puppet-40f0b9a4ed6ee8734a6a5fde357b10a37d6c2aed.zip
small cleaning of mga-mirrors
Diffstat (limited to 'modules/mga-mirrors')
-rw-r--r--modules/mga-mirrors/manifests/init.pp12
1 files changed, 2 insertions, 10 deletions
diff --git a/modules/mga-mirrors/manifests/init.pp b/modules/mga-mirrors/manifests/init.pp
index 33da9a9b..f542fe87 100644
--- a/modules/mga-mirrors/manifests/init.pp
+++ b/modules/mga-mirrors/manifests/init.pp
@@ -2,9 +2,7 @@ class mga-mirrors {
$vhost = "mirrors.$domain"
- package { 'mga-mirrors':
- ensure => installed
- }
+ package { 'mga-mirrors': }
apache::vhost_catalyst_app { $vhost:
script => "/usr/bin/mga_mirrors_fastcgi.pl",
@@ -18,10 +16,7 @@ class mga-mirrors {
description => "Mirrors database",
}
- file { "mga-mirrors.ini":
- path => "/etc/mga-mirrors.ini",
- ensure => "present",
- owner => root,
+ file { "/etc/mga-mirrors.ini":
group => apache,
mode => 640,
content => template("mga-mirrors/mga-mirrors.ini"),
@@ -29,9 +24,6 @@ class mga-mirrors {
}
file { "/etc/cron.d/mga_mirrors":
- ensure => "present",
- owner => root,
- group => root,
content => template("mga-mirrors/cron-mga_mirrors"),
require => Package['mga-mirrors']
}