aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mirror/manifests/init.pp
blob: 5d6bca4b33c41c184c165ba353bc3263032e3a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class mirror {

    file { "update_timestamp":
        path => "/home/mirror/bin/update_timestamp",
        ensure => present,
        owner => mirror,
        group => mirror,
        mode => 755,
        content => template("mirror/update_timestamp")
    }

    cron { mirror:
        user => mirror,
        hour => 10,
        minute => 14,
        command => "~mirror/bin/update_timestamp",
        require => File["update_timestamp"],
    }

}