diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-01-18 18:25:58 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-01-18 18:25:58 +0000 |
commit | 492af4ecb824447c563000dffbf73285b2bb1885 (patch) | |
tree | ed17657417b1ae8d03429c0776a839cd90974a1f /modules/mirror | |
parent | 912fe00a3db01b4cd46df1720a278a813de2890e (diff) | |
download | puppet-492af4ecb824447c563000dffbf73285b2bb1885.tar puppet-492af4ecb824447c563000dffbf73285b2bb1885.tar.gz puppet-492af4ecb824447c563000dffbf73285b2bb1885.tar.bz2 puppet-492af4ecb824447c563000dffbf73285b2bb1885.tar.xz puppet-492af4ecb824447c563000dffbf73285b2bb1885.zip |
add mirror_ in filename
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"], } } |