Skip to content

Instantly share code, notes, and snippets.

Created April 30, 2015 22:45
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/11db46bad12fb3cf7c0b to your computer and use it in GitHub Desktop.
Save anonymous/11db46bad12fb3cf7c0b to your computer and use it in GitHub Desktop.
/usr/local/sbin/kvm-customer-daemon:
file.managed:
- source: salt://kvm/files/kvm-customer-daemon.py
- user: root
- group: root
- mode: 755
service:
- name: kvm-customer-daemon
- running
- enable: True
- watch:
- file: /usr/local/sbin/kvm-customer-daemon
- require:
- file: /etc/init.d/kvm-customer-daemon
- file: /usr/local/sbin/kvm-customer-daemon
/etc/init.d/kvm-customer-daemon:
file.managed:
- source: salt://kvm/files/kvm-customer-daemon
- user: root
- group: root
- mode: 755
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment