aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-12 18:04:26 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-12 18:04:26 -0300
commit423e5f937e7b558c218f170a3b6f1ad4c98e62c2 (patch)
tree45a1f4813daae63fa8686e257a3b22b5f5236a25
parente4a5df1c417d18bdf0611c3d75faaf1ff5736528 (diff)
downloadpuppet-nodo-423e5f937e7b558c218f170a3b6f1ad4c98e62c2.tar.gz
puppet-nodo-423e5f937e7b558c218f170a3b6f1ad4c98e62c2.tar.bz2
Use nodo::utils::network::analyzer at nodo::role::router
-rw-r--r--manifests/role/router.pp7
1 files changed, 1 insertions, 6 deletions
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':