summaryrefslogtreecommitdiff
path: root/puppet/modules/site_shorewall/manifests/ip_forward.pp
blob: d53ee8a5dcb347827d779d74c68108a7abadbbc2 (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], Package[shorewall] ];
  }
}