-
-
Save MAS150MD200/2204edf48a2f01746a9eaa8675162f7f to your computer and use it in GitHub Desktop.
augeas ntp puppet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
augeas { "ntp.conf": | |
context => "/files/etc/ntp.conf", | |
changes => [ | |
"rm server[.]", | |
"set server timehost.tconet.net", | |
"clear server[. = 'timehost.tconet.net']/iburst", | |
"set server[. = 'timehost.tconet.net']/maxpoll 9", | |
"clear server[. = 'timehost.tconet.net']/prefer", | |
], | |
require => Package["ntp"], | |
} # augeas |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment