/[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 1546 - (show annotations) (download)
Wed Apr 20 12:17:13 2011 UTC (12 years, 11 months ago) by boklm
File size: 768 byte(s)
fix syntax
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":
11 ensure => directory,
12 }
13
14 file { "$mirror/README":
15 ensure => present,
16 source => "puppet:///modules/main_mirror/README"
17 }
18
19 file { "$mirror/mirror":
20 ensure => directory,
21
22 }
23
24 file { "$mirror/mirror/mirror.readme":
25 ensure => present,
26 source => "puppet:///modules/main_mirror/mirror/mirror.readme"
27 }
28
29 file { "$mirror/mirror/paths.readme":
30 ensure => present,
31 source => "puppet:///modules/main_mirror/mirror/paths.readme"
32 }
33
34
35 }

  ViewVC Help
Powered by ViewVC 1.1.30