Skip to content

Instantly share code, notes, and snippets.

@dlanderson
Last active December 28, 2015 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlanderson/fb48f295e2e8a60c2bba to your computer and use it in GitHub Desktop.
Save dlanderson/fb48f295e2e8a60c2bba to your computer and use it in GitHub Desktop.
ntpd:
pkg.installed:
- pkgs:
- ntp
cmd.wait:
- name: "ntpd -qxdg"
- watch:
- pkg: ntpd
service.running:
- enable: True
- require:
- pkg: ntpd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment