saltstack-formulas / ntp-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
23 stars 158 forks source link

modify ntp/ng/files/ntp.conf to declare any 'tinker' settings first #20

Closed bryangwilliam closed 8 years ago

bryangwilliam commented 8 years ago

Per the ntp documentation (http://doc.ntp.org/4.1.2/miscopt.htm) all 'tinker' directives should reside at the top of ntp.conf. This change makes sure that if any tinker settings have been defined in ntp:ng:settings:ntp_conf they will be inserted into the config file before the rest of the directives.