/[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 18 - (hide annotations) (download)
Tue Oct 26 21:58:40 2010 UTC (10 years ago) by misc
File size: 457 byte(s)
- add ntp module
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     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