aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/mirror/manifests/init.pp12
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/mirror/manifests/init.pp b/modules/mirror/manifests/init.pp
index 6adce9e1..5d6bca4b 100644
--- a/modules/mirror/manifests/init.pp
+++ b/modules/mirror/manifests/init.pp
@@ -9,14 +9,12 @@ class mirror {
content => template("mirror/update_timestamp")
}
- file { "mirror.cron":
- path => "/etc/cron.d/mirror",
- ensure => present,
- owner => root,
- group => root,
- mode => 644,
+ cron { mirror:
+ user => mirror,
+ hour => 10,
+ minute => 14,
+ command => "~mirror/bin/update_timestamp",
require => File["update_timestamp"],
- content => template("mirror/cron")
}
}