puppetlabs / puppetlabs-firewall

Puppet Firewall Module
http://forge.puppetlabs.com/puppetlabs/firewall
Apache License 2.0
271 stars 455 forks source link

Change ip6tables_version to constant in provider. #1134

Closed pjakubcz closed 1 year ago

pjakubcz commented 1 year ago

Facter is being asked for ip6tables_version every time ip6tables provider constructor is called during prefetch. This causes severe performance issues on systems with a lot of ip6tables rules (fe: openstack hypervisors) when even a single ipv6 rule is added. This commit should fix this.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.