/[adm]/puppet/deployment/main_mirror/manifests/init.pp
ViewVC logotype

Annotation of /puppet/deployment/main_mirror/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2496 - (hide annotations) (download)
Thu Mar 15 22:55:03 2012 UTC (12 years, 1 month ago) by misc
File size: 640 byte(s)
clean module main_mirror to conform to puppet style guide with puppet-lint
1 misc 872 class main_mirror {
2 misc 875 # FIXME shouldn't the various code in this module ?
3     include mirror::main
4    
5 misc 2496 class { 'rsyncd':
6     rsyncd_conf => 'main_mirror/rsyncd.conf'
7 boklm 1545 }
8    
9 misc 2496 $mirror = '/distrib'
10     file { [$mirror,
11     "$mirror/mirror",
12     "$mirror/archive"]:
13 misc 872 ensure => directory,
14     }
15    
16 misc 2197 file {
17 misc 2496 "$mirror/README": source => 'puppet:///modules/main_mirror/README';
18     "$mirror/mirror/mirror.readme": source => 'puppet:///modules/main_mirror/mirror/mirror.readme';
19     "$mirror/mirror/paths.readme": source => 'puppet:///modules/main_mirror/mirror/paths.readme';
20 misc 872 }
21     }

  ViewVC Help
Powered by ViewVC 1.1.30