aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ntp/manifests/init.pp
blob: b31d056711634967434bd7ac22b8e3ed9bfe5ca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class ntp {
    package { ntp: }

    service { ntpd:
        subscribe => [Package["ntp"], File["/etc/ntp.conf"]],
    }

    file { "/etc/ntp.conf":
        require => Package["ntp"],
        content => template("ntp/ntp.conf"),
    }
}