/[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 29 - (show annotations) (download)
Wed Oct 27 00:09:14 2010 UTC (13 years, 6 months ago) by nanardon
File size: 515 byte(s)
- 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