aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gitmirror/manifests/init.pp
blob: 4ab44c0a4aeb104a7d691cbeb8f89308de3eebe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class gitmirror {
    mga_common::local_script { 'on-the-pull':
        content => template('gitmirror/on-the-pull'),
    }
    file { '/etc/init.d/on-the-pull':
        content => template('gitmirror/on-the-pull.init'),
        mode    => 755,
    }

    mga_common::local_script { 'gitmirror-sync-metadata':
        content => template('gitmirror/rsync-metadata.sh'),
    }
}