Skip to content

Instantly share code, notes, and snippets.

@packeteer
Created September 26, 2013 03: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 packeteer/6709608 to your computer and use it in GitHub Desktop.
Save packeteer/6709608 to your computer and use it in GitHub Desktop.
ntp:
pkg:
- installed
service:
- name: ntpd
- running
- enable: True
- require:
- pkg: ntp
- watch:
- file: /etc/ntp.conf
/etc/ntp.conf:
file.managed:
- source: salt://base/ntp/ntp.conf
- user: root
- group: root
- mode: 644
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment