1 |
misc |
872 |
class main_mirror { |
2 |
misc |
875 |
# FIXME shouldn't the various code in this module ? |
3 |
|
|
include mirror::main |
4 |
|
|
|
5 |
boklm |
1545 |
class { rsyncd: |
6 |
boklm |
1546 |
rsyncd_conf => 'main_mirror/rsyncd.conf' |
7 |
boklm |
1545 |
} |
8 |
|
|
|
9 |
misc |
872 |
$mirror = "/distrib" |
10 |
misc |
2213 |
file { ["$mirror","$mirror/mirror"]: |
11 |
misc |
872 |
ensure => directory, |
12 |
|
|
} |
13 |
|
|
|
14 |
misc |
2197 |
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 |
misc |
872 |
} |
19 |
|
|
} |