blob: bd59a882b59554f8dfc0876aa4e73fe0411f4958 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
define shorewall::entry(
$line
){
$target = "/var/lib/puppet/modules/shorewall/${name}"
$dir = dirname($target)
file { $target:
content => "${line}\n",
mode => 0600, owner => root, group => 0,
notify => Exec["concat_${dir}"],
}
}
|