SaltStack Formula to set up and configure Firewalld, dynamically managed firewall with support for network/firewall zones to define the trust level of network connections or interfaces https://github.com/saltstack-formulas/firewalld-formula/
Go to file
Javier Bértoli 8694a11de5
Merge pull request #21 from aboe76/update_config_6.x
update firewalld formula for firewalld > 0.6
2018-08-16 15:19:46 -03:00
firewalld fix whitespacing 2018-08-14 19:52:08 +02:00
test/integration/default/serverspec Add basic test suite 2017-03-10 11:30:39 -07:00
.gitignore Add basic test suite 2017-03-10 11:30:39 -07:00
.kitchen.yml Reload, rather than restart, the FirewallD service 2017-03-11 12:51:12 -07:00
LICENSE Initial commit. 2014-08-23 16:44:48 +02:00
pillar.example update firewalld formula for firewalld > 0.6 2018-08-12 20:26:21 +02:00
README.rst Revert "Fix ipset:type colon handling error" 2018-05-13 22:14:49 +02:00
VERSION add ipset support for firewalld 2016-09-03 21:43:40 +02:00

firewalld-formula

Salt Stack Formula to set up and configure Firewalld, dynamically managed firewall with support for network/firewall zones to define the trust level of network connections or interfaces

NOTICE BEFORE YOU USE

TODO

  • configure local pre-commit hooks (code syntax check based on file extension, check for ugly utf-8 mac os white space)

Instructions

  1. Add this repository as a GitFS backend in your Salt master config.
  2. Configure your Pillar top file (/srv/pillar/top.sls), see pillar.example
  3. Include this Formula within another Formula or simply define your needed states within the Salt top file (/srv/salt/top.sls).

Available states

firewalld -------Manage firewalld

Additional resources

None

Formula Dependencies

None

Contributions

Contributions are always welcome. All development guidelines you have to know are

  • write clean code (proper YAML+Jinja syntax, no trailing whitespaces, no empty lines with whitespaces, LF only)
  • set sane default settings
  • test your code
  • update README.rst doc

Salt Compatibility

Tested with:

  • 2014.1.x
  • 2015.5.x

OS Compatibility

Tested with:

  • CentOS 7
  • Archlinux