blob: 5553e4f98b143baa53afe7dfa254442313be412b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# set a particular config option for shorewall6
#
# e.g.
# shorewall::config6_setting{
# 'CONFIG_PATH':
# value => '"/etc/shorewall6/puppet:/etc/shorewall6:/usr/share/shorewall6"'
# }
define shorewall::config6_setting(
$value,
){
augeas { "shorewall6_module_${name}":
changes => "set /files/etc/shorewall6/shorewall6.conf/${name} ${value}",
lens => 'Shellvars.lns',
incl => '/etc/shorewall6/shorewall6.conf',
notify => Exec['shorewall6_check'],
require => Package['shorewall6'];
}
}
|