Added automatic firewall configuation 38/138/2
authorJosh Farwell <jfarwell@linuxfoundation.org>
Wed, 10 Jun 2015 00:47:26 +0000 (17:47 -0700)
committerJosh Farwell <jfarwell@linuxfoundation.org>
Wed, 10 Jun 2015 16:08:23 +0000 (09:08 -0700)
commit34a5732fe957abc022c17bc9425acb90c384385b
tree19f3276ad496742085875fa8b5150e9493e7c846
parentd23c3f9ed087c3fca2ddd5df55abaa74061eec76
Added automatic firewall configuation

Added puppetlabs/firewall as an optional dependency, ::core::config now
calls a subclass that parses the config file values for relevant
information and creates firewall rules based on the config. Since
the program's default settings bind all services to 127.0.0.1, by
default it does nothing. Opens ports to all addresses by default
if non-localhost address is specified, takes an options hash that
defines allowed_hosts.

Change-Id: If9122950ae218ca2b1cf3bbb96997b3c9ad2818a
Signed-off-by: Josh Farwell <jfarwell@linuxfoundation.org>
.fixtures.yml
README.md
manifests/core.pp
manifests/core/config.pp
manifests/core/config/firewall.pp [new file with mode: 0644]
manifests/params.pp
spec/classes/core__config__firewall_spec.rb [new file with mode: 0644]
spec/classes/core__config_spec.rb