aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/main_mirror/manifests/init.pp
blob: c02ca26ea3436465478da8f24ac95899536616af (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
class main_mirror {
    # FIXME shouldn't the various code in this module ?
    include mirror::main

    $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/README.mirroring":
        ensure => present,
        source => "puppet:///modules/main_mirror/mirror/README.mirroring"         
    }

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


}