Skip to content

Instantly share code, notes, and snippets.

@arca223
Created April 1, 2015 15:19
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 arca223/6f545b8958944477765c to your computer and use it in GitHub Desktop.
Save arca223/6f545b8958944477765c to your computer and use it in GitHub Desktop.
/etc/sysconfig/iptables:
file.managed:
- source: salt://iptables/iptables
- user: root
- group: root
- mode: 600
- template: jinja
- context: {{ salt['grains.get']('ip_interfaces:eth0') }}
ID: /etc/sysconfig/iptables
Function: file.managed
Result: False
Comment: Context must be formed as a dict
Started: 17:17:47.874453
Duration: 0.762 ms
Changes:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment