Skip to content

Instantly share code, notes, and snippets.

@pavelliano
Last active October 19, 2015 11:08
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 pavelliano/7280b827dbba399b1876 to your computer and use it in GitHub Desktop.
Save pavelliano/7280b827dbba399b1876 to your computer and use it in GitHub Desktop.
ntp init.sls
ntp:
pkg:
- installed
service:
- name: ntpd
- running
- watch:
- file: /etc/ntp.conf
/etc/ntp.conf:
- file:
- managed
- require:
- package: ntp
- source: salt://ntp/ntp.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment