/[adm]/puppet/modules/mirror/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/mirror/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 45 - (show annotations) (download)
Wed Oct 27 16:01:48 2010 UTC (13 years, 6 months ago) by misc
File size: 450 byte(s)
- convert the cronjob to the native cron type
1 class mirror {
2
3 file { "update_timestamp":
4 path => "/home/mirror/bin/update_timestamp",
5 ensure => present,
6 owner => mirror,
7 group => mirror,
8 mode => 755,
9 content => template("mirror/update_timestamp")
10 }
11
12 cron { mirror:
13 user => mirror,
14 hour => 10,
15 minute => 14,
16 command => "~mirror/bin/update_timestamp",
17 require => File["update_timestamp"],
18 }
19
20 }

  ViewVC Help
Powered by ViewVC 1.1.30