/[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 872 - (show annotations) (download)
Fri Jan 21 14:10:24 2011 UTC (13 years, 3 months ago) by misc
File size: 619 byte(s)
- add a main mirror modules ( mirror was already used ), and add content
  there ( mainly READMEs, and directory to ease replication of a fake
test mirror on vm )
1 class main_mirror {
2 $mirror = "/distrib"
3 file { "$mirror":
4 ensure => directory,
5 }
6
7 file { "$mirror/README":
8 ensure => present,
9 source => "puppet:///modules/main_mirror/README"
10 }
11
12 file { "$mirror/mirror":
13 ensure => directory,
14
15 }
16
17 file { "$mirror/mirror/README.mirroring":
18 ensure => present,
19 source => "puppet:///modules/main_mirror/mirror/README.mirroring"
20 }
21
22 file { "$mirror/mirror/README.paths":
23 ensure => present,
24 source => "puppet:///modules/main_mirror/mirror/README.paths"
25 }
26
27
28 }

  ViewVC Help
Powered by ViewVC 1.1.30