aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mirror/manifests/main.pp
blob: f368038d479fc55c819d19cfb7efed97be6267bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# For main Mageia mirror
class mirror::main {
    include mirror::base
    mga_common::local_script { 'update_timestamp':
        content => template('mirror/update_timestamp')
    }

    cron { 'mirror':
        user    => 'mirror',
        minute  => '*/10',
        command => '/usr/local/bin/update_timestamp',
        require => [Mga_common::Local_script['update_timestamp'], User['mirror']],
    }
}