]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/ntp/manifests/server.pp
Move to our standard idiom of per-host files. You wouldn't think ntp
[dsa-puppet.git] / modules / ntp / manifests / server.pp
1 class ntp::server inherits ntp {
2         file { "/etc/ntp.conf":
3                 owner   => root,
4                 group   => root,
5                 mode    => 444,
6                 source  => [ "puppet:///ntp/per-host/$fqdn/server.conf",
7                              "puppet:///ntp/common/server.conf" ],
8                 notify  => Exec["ntp restart"],
9                 require => Package["ntp"]
10                 ;
11                 "/var/lib/ntpstats":
12                 ensure  => directory,
13                 owner   => ntp,
14                 group   => ntp,
15                 mode    => 755
16                 ;
17         }
18 }