Skip to content

Instantly share code, notes, and snippets.

Created February 4, 2016 22:38
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/f372ee67ec030f2d0966 to your computer and use it in GitHub Desktop.
Save anonymous/f372ee67ec030f2d0966 to your computer and use it in GitHub Desktop.
cachefilesd:
pkg.installed: []
{% if pillar['cluster'] == 'bobobo' %}
service.dead:
- enable: False
{% elif pillar['cluster'] == 'bababa' %}
service.running:
- enable: True
- restart: True
- watch:
- file: /etc/cachefilesd.conf
- file: /cache/fscache
{% endif %}
- require:
- file: /cache/fscache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment