blob: fb30d980ff627b542d8876f4cda1d3102c58e735 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class main_mirror {
# FIXME shouldn't the various code in this module ?
include mirror::main
class { rsyncd:
rsyncd_conf => 'main_mirror/rsyncd.conf'
}
$mirror = "/distrib"
file { ["$mirror", "$mirror/mirror", "$mirror/archive"]:
ensure => directory,
}
file {
"$mirror/README": source => "puppet:///modules/main_mirror/README";
"$mirror/mirror/mirror.readme": source => "puppet:///modules/main_mirror/mirror/mirror.readme";
"$mirror/mirror/paths.readme": source => "puppet:///modules/main_mirror/mirror/paths.readme";
}
}
|