/[adm]/puppet/modules/ntp/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/ntp/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18 - (show annotations) (download)
Tue Oct 26 21:58:40 2010 UTC (9 years, 11 months ago) by misc
File size: 457 byte(s)
- add ntp module
1 class ntp {
2
3 package { ntp:
4 ensure => installed
5 }
6
7 service { ntp:
8 ensure => running,
9 path => "/etc/init.d/ntpd",
10 subscribe => [ Package["ntpd"], File["ntp.conf"] ]
11 }
12
13 file { "ntp.conf":
14 path => "/etc/ntp.conf",
15 ensure => present,
16 owner => root,
17 group => root,
18 mode => 644,
19 require => Package["ntp"],
20 content => template("ntp/ntp.conf")
21 }
22 }

  ViewVC Help
Powered by ViewVC 1.1.28