Skip to content

Instantly share code, notes, and snippets.

Created September 21, 2017 07:36
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/35f35d597e4e795e03203019a83b8998 to your computer and use it in GitHub Desktop.
Save anonymous/35f35d597e4e795e03203019a83b8998 to your computer and use it in GitHub Desktop.
# Salt Ubuntu configuration file.
---
# Services that we wont be using.
disabled_services:
service.dead:
- names:
- timesyncd
- enable: False
# Apply configuration files.
ubuntu_apply_configuration:
file.managed:
- names:
- '/etc/resolv.conf':
- source: salt://{{slspath}}/files/resolv.conf
- '/sbin/call_home':
- contents: 'salt-call --state_output=mixed state.apply'
- mode: 755
- mode: 644
- template: jinja
- user: root
- group: root
- follow_symlinks: False
# Ensure services are running.
ubuntu_service_running:
service.running:
- names:
- 'salt-minion'
- enable: True
# End of configuration file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment