aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-mirrors/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mga-mirrors/manifests')
-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']
}