Created
June 28, 2012 14:17
-
-
Save Raboo/3011629 to your computer and use it in GitHub Desktop.
augeas ntp puppet
This file contains hidden or 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