Saltstack Official IPTables Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

map.jinja 299B

9 years ago
1234567891011
  1. {% set service = salt['grains.filter_by']({
  2. 'Debian': {
  3. 'pkgs': ['iptables','iptables-persistent' ],
  4. 'service': 'iptables-persistent',
  5. },
  6. 'RedHat': {
  7. 'pkgs': ['iptables'],
  8. 'service': 'iptables',
  9. },
  10. }, merge=salt['pillar.get']('iptables:service')) %}