summaryrefslogtreecommitdiff
path: root/puppet/modules/site_shorewall/manifests/ip_forward.pp
blob: d09d4fd1e82b7e9559d5a9d79bf246fc86502395 (plain)
1
2
3
4
5
6
7
8
9
10
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  => Service[shorewall],
    require => Class[augeas];
  }
}