summaryrefslogtreecommitdiff
path: root/puppet/modules/site_shorewall/manifests/ip_forward.pp
blob: beb1f0558ad19d5358a9b5dafb8654ec0bfeea80 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Configure ip forwarding for shorewall
class site_shorewall::ip_forward {
  include augeas
  augeas { 'enable_ip_forwarding':
    changes => 'set /files/etc/shorewall/shorewall.conf/IP_FORWARDING Yes',
    lens    => 'Shellvars.lns',
    incl    => '/etc/shorewall/shorewall.conf',
    notify  => Exec['shorewall_check'],
    require => [ Class[augeas], Package[shorewall] ];
  }
}