diff options
Diffstat (limited to 'modules/mirror')
-rw-r--r-- | modules/mirror/manifests/init.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mirror/manifests/init.pp b/modules/mirror/manifests/init.pp index 435a086a..b7abc240 100644 --- a/modules/mirror/manifests/init.pp +++ b/modules/mirror/manifests/init.pp @@ -39,7 +39,7 @@ class mirror { mode => 755, } file { "mirror_$name": - path => "$bindir/$name", + path => "$bindir/mirror_$name", ensure => present, owner => root, group => root, @@ -50,7 +50,7 @@ class mirror { cron { "mirror_$name": user => mirror, minute => [0, 10, 20, 30, 40, 50], - command => "$bindir/$name", + command => "$bindir/mirror_$name", require => File["mirror_$name"], } } |