Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created July 22, 2015 18:34
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 anonymous/480b0266d57fa08dad70 to your computer and use it in GitHub Desktop.
Save anonymous/480b0266d57fa08dad70 to your computer and use it in GitHub Desktop.
[root@salt salt]# cat top.sls
base:
mpi_compute:
- match: nodegroup
- ntp
[root@salt salt]#
[root@salt salt]#
[root@salt salt]#
[root@salt salt]# cat ntp.sls
ntpd:
service.running:
- enable: True
- name: ntpd
- require:
- file: ntp.conf
ntp.conf:
file.managed:
- name: /etc/ntp.conf
- source: salt://config_files/ntp.conf_standard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment