diff options
-rw-r--r-- | modules/mga-mirrors/manifests/init.pp | 6 |
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'] } } |