lordcirth / shorewall-formula

Saltstack formula for managing shorewall

Home Page:http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shorewall Salt Formula

Build Status

Install and configure shorewall directly with SaltStack.

Available states

Available pillars

You can take a loot at pillar.example to configure Shorewall with pillars.

  • Default is to install and configure shorewall for ipv4. If ipv6 is needed it must be configured in pillar.
  • Each config item (zone, interface, rule, etc.) is configured for all configured ip versions (ipv4, ipv6) by default. If it is needed for one specific version this can be set in pillar with flag 'ipv': 'ipv: 4' or 'ipv: 6'.

Notes

Run tests

This formula is tested with Kitchen and Inspec in a Docker container.

To run tests you need to

  • install Ruby dependencies : bundle install
  • run Kitchen : kitchen test

About

Saltstack formula for managing shorewall

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

License:Other


Languages

Language:Jinja 79.6%Language:SaltStack 16.8%Language:Ruby 3.6%