Steven Daniele 94d2b0b97c
fix: do not error on unknown os_family grain
If the formula was ran on a system that reported an os_family that
wasn't one of "Debian", "RedHat", "Arch", "Suse" then the map.jinja
template would fail to render with "'NoneType' is not iterable.

This occurs because grains.filter_by will return None when it fails
match the grain to the input dictionary. The value is then blindly
passed into a dict.update() which causes the failure.

In this patch we ensure that the default values, as defined in
defaults.yaml, are always applied when grain matching fails.
2020-04-18 15:53:46 +01:00
2020-04-18 14:52:23 +00:00
2020-04-18 14:52:23 +00:00
2020-04-18 14:52:23 +00:00
2020-04-18 14:52:23 +00:00
2018-08-25 19:05:21 -03:00
Description
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/ Readme 429 KiB
Languages
Ruby 37.9%
SaltStack 36.1%
JavaScript 16.3%
Shell 4.9%
Jinja 4.8%