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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26 - (hide annotations) (download)
Tue Oct 26 23:16:32 2010 UTC (9 years, 11 months ago) by misc
File size: 456 byte(s)
- fix subscribe

1 misc 18 class ntp {
2    
3     package { ntp:
4     ensure => installed
5     }
6    
7     service { ntp:
8     ensure => running,
9     path => "/etc/init.d/ntpd",
10 misc 26 subscribe => [ Package["ntp"], File["ntp.conf"] ]
11 misc 18 }
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