aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/main_mirror/manifests/init.pp
blob: 8b47301ff2574eae04cdb52af20d07e651cee9f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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":
        ensure => directory,
    }

    file { "$mirror/README":
        ensure => present,
        source => "puppet:///modules/main_mirror/README"         
    }

    file { "$mirror/mirror":
        ensure => directory,

    }

    file { "$mirror/mirror/mirror.readme":
        ensure => present,
        source => "puppet:///modules/main_mirror/mirror/mirror.readme"         
    }

    file { "$mirror/mirror/paths.readme":
        ensure => present,
        source => "puppet:///modules/main_mirror/mirror/paths.readme"         
    }


}