Parent Directory | Revision Log
- 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 | misc | 872 | 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 |