aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/main_mirror/manifests/init.pp
blob: 178c66c6160b978ee05c873b3f2e90b06163a6b3 (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"]:
        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";
    }
}