aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-12-05 23:28:12 +0000
committerMichael Scherer <misc@mageia.org>2010-12-05 23:28:12 +0000
commit79c9deef449e895f4b6f3c8049340d4f70394c37 (patch)
tree5887a40cf837396d8254bbfbae1e02d2d7f7a221 /modules
parentddf46620a6ff964194bc4b841379dd3833155fa6 (diff)
downloadpuppet-79c9deef449e895f4b6f3c8049340d4f70394c37.tar
puppet-79c9deef449e895f4b6f3c8049340d4f70394c37.tar.gz
puppet-79c9deef449e895f4b6f3c8049340d4f70394c37.tar.bz2
puppet-79c9deef449e895f4b6f3c8049340d4f70394c37.tar.xz
puppet-79c9deef449e895f4b6f3c8049340d4f70394c37.zip
add requires on package, so it doesn't prevent apache from starting
Since the config file was created even without the rpm installed, apache complain about missing script when being restarted.
Diffstat (limited to 'modules')
-rw-r--r--modules/mga-mirrors/manifests/init.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/mga-mirrors/manifests/init.pp b/modules/mga-mirrors/manifests/init.pp
index 6f74907f..2b7def29 100644
--- a/modules/mga-mirrors/manifests/init.pp
+++ b/modules/mga-mirrors/manifests/init.pp
@@ -7,7 +7,8 @@ class mga-mirrors {
}
apache::vhost_catalyst_app { $vhost:
- script => "/usr/bin/mga_mirrors_fastcgi.pl"
+ script => "/usr/bin/mga_mirrors_fastcgi.pl",
+ require => Package['mga-mirrors']
}
$password = extlookup("mga_mirror_password",'x')
@@ -18,6 +19,7 @@ class mga-mirrors {
owner => root,
group => apache,
mode => 640,
- content => template("mga-mirrors/mga-mirrors.ini")
+ content => template("mga-mirrors/mga-mirrors.ini"),
+ require => Package['mga-mirrors']
}
}