blob: 9c5758da58a588b636a63dbae3042e2d702cfab2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
define shorewall::managed_file () {
concat{ "/etc/shorewall/puppet/${name}":
notify => Service['shorewall'],
require => File['/etc/shorewall/puppet'],
owner => root, group => 0, mode => '0600';
}
concat::fragment {
"${name}-header":
source => "puppet:///modules/shorewall/boilerplate/${name}.header",
target => "/etc/shorewall/puppet/${name}",
order => '000';
"${name}-footer":
source => "puppet:///modules/shorewall/boilerplate/${name}.footer",
target => "/etc/shorewall/puppet/${name}",
order => '999';
}
}
|