blob: a4e8cc76924d31f811cb67bf8c552a8204a6dc80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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';
}
}
|