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.

12 lines
299B

  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')) %}