Revision
45
Author
misc
Date
2010-10-27 18:01:48 +0200 (Wed, 27 Oct 2010)

Log Message

- convert the cronjob to the native cron type

Modified Paths

Diff

Modified: puppet/modules/mirror/manifests/init.pp (44 => 45)


--- puppet/modules/mirror/manifests/init.pp	2010-10-27 15:51:23 UTC (rev 44)
+++ puppet/modules/mirror/manifests/init.pp	2010-10-27 16:01:48 UTC (rev 45)
@@ -9,14 +9,12 @@
         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")
     }
 
 }