Skip to content

Instantly share code, notes, and snippets.

/.sls

Created October 15, 2015 13:31
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/420c375377ca90c024c1 to your computer and use it in GitHub Desktop.
Save anonymous/420c375377ca90c024c1 to your computer and use it in GitHub Desktop.
# redis.sls
/etc/redis/redis.conf:
file.managed:
- source: salt://redis.conf
- template: jinja
- context:
bind: 127.0.0.1
# redis.conf
{% if bind %}
...
{% edif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment