aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/mga-mirrors/manifests/init.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/mga-mirrors/manifests/init.pp b/modules/mga-mirrors/manifests/init.pp
index be4da721..78439c35 100644
--- a/modules/mga-mirrors/manifests/init.pp
+++ b/modules/mga-mirrors/manifests/init.pp
@@ -1,6 +1,7 @@
class mga-mirrors {
$vhost = "mirrors.${::domain}"
+ $mirrors_dir = '/var/www/mirrors'
package { 'mga-mirrors': }
@@ -39,4 +40,9 @@ class mga-mirrors {
content => template('mga-mirrors/cron-mga_mirrors'),
require => Package['mga-mirrors']
}
+
+ file { $mirrors_dir:
+ ensure => directory,
+ owner => 'nobody',
+ }
}