Parent Directory | Revision Log
- add task for mirror
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 | file { "mirror.cron": |
13 | path => "/etc/cron.d/mirror", |
14 | ensure => present, |
15 | owner => root, |
16 | group => root, |
17 | mode => 644, |
18 | require => File["update_timestamp"], |
19 | content => template("mirror/cron") |
20 | } |
21 | |
22 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |