Saltstack Official UFW 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.

18 line
392B

  1. {% import_yaml 'ufw/defaults.yaml' as default_settings %}
  2. {% set os_family_map = salt['grains.filter_by']({
  3. 'Gentoo': {
  4. 'pkg': 'net-firewall/ufw',
  5. },
  6. },
  7. grain="os_family",
  8. merge=salt['pillar.get']('ufw:lookup')) or {}
  9. %}
  10. {% set ufwmap = salt['grains.filter_by'](
  11. default_settings,
  12. merge=os_family_map,
  13. base='ufwmap',
  14. )
  15. %}