Closed markwherry9 closed 8 years ago
The watch should be on ntp_conf
, as opposed to /etc/ntp.conf
shouldn't it? Otherwise we don't support custom confs, and there's no actual declaration of an ID with the name /etc/ntp.conf
.
Hi Gravyboat,
Thanks for the feedback - now incorporated. In usage I found that ntp now correctly peers with the servers specifed in pillar data rather than package defaults. I'm fairly new to Saltstack so I hope I've got this right now.
Regards,
Mark
Good stuff, thanks @markwherry9!
Hi,
I found that a service restart was required after applying the formula to get NTP using the options specified in /etc/ntp.conf, so I added a watch on the configuration file to trigger a service restart.
Regards,
Mark