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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2213 - (show annotations) (download)
Sun Jan 8 20:48:41 2012 UTC (12 years, 3 months ago) by misc
File size: 578 byte(s)
fix typo
1 class main_mirror {
2 # FIXME shouldn't the various code in this module ?
3 include mirror::main
4
5 class { rsyncd:
6 rsyncd_conf => 'main_mirror/rsyncd.conf'
7 }
8
9 $mirror = "/distrib"
10 file { ["$mirror","$mirror/mirror"]:
11 ensure => directory,
12 }
13
14 file {
15 "$mirror/README": source => "puppet:///modules/main_mirror/README";
16 "$mirror/mirror/mirror.readme": source => "puppet:///modules/main_mirror/mirror/mirror.readme";
17 "$mirror/mirror/paths.readme": source => "puppet:///modules/main_mirror/mirror/paths.readme";
18 }
19 }

  ViewVC Help
Powered by ViewVC 1.1.30