/[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 26 - (show annotations) (download)
Tue Oct 26 23:16:32 2010 UTC (13 years, 5 months ago) by misc
File size: 456 byte(s)
- fix subscribe

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["ntp"], 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.30