From: Silvio Rhatto Date: Tue, 12 May 2020 21:04:26 +0000 (-0300) Subject: Use nodo::utils::network::analyzer at nodo::role::router X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=423e5f937e7b558c218f170a3b6f1ad4c98e62c2;p=puppet-nodo.git Use nodo::utils::network::analyzer at nodo::role::router --- diff --git a/manifests/role/router.pp b/manifests/role/router.pp index cd65a1e..0f0aa07 100644 --- a/manifests/role/router.pp +++ b/manifests/role/router.pp @@ -7,12 +7,7 @@ class nodo::role::router inherits nodo::base::appliance { include nodo::utils::network::analyzer # Enable IP forwarding - augeas { 'enable_ip_forwarding': - changes => 'set /files/etc/shorewall/shorewall.conf/IP_FORWARDING On', - lens => 'Shellvars.lns', - incl => '/etc/shorewall/shorewall.conf', - notify => Service[shorewall]; - } + include firewall::forwarding # Make sure shorewall is reloaded after dhcp renew file { '/etc/dhcp/dhclient-exit-hooks.d/shorewall':