Posted by Anonymous on Tue 20th Oct 10:39 (modification of post by view diff)
download | new post
- class ntp::install {
- package{"ntpd":
- ensure => latest
- }
- }
- class ntp::config {
- File{
- require => Class["ntp::install"],
- notify => Class["ntp::service"],
- owner => "root",
- group => "root",
- mode => 644
- }
- file{"/etc/ntp.conf":
- source => "puppet:///ntp/ntp.conf";
- "/etc/ntp/step-tickers":
- source => "puppet:///ntp/step-tickers";
- }
- }
- class ntp::service {
- service{"ntp":
- ensure => running,
- enable => true,
- require => Class["ntp::config"],
- }
- }
- class ntp {
- include ntp::install, ntp::config, ntp::service
- }
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.