summaryrefslogtreecommitdiff
path: root/manifests/entry.pp
blob: ab61351af6b1aa2200b3ad06b913e5f42925312b (plain)
1
2
3
4
5
6
7
8
9
10
define shorewall::entry(
    $line
){
  $parts = split($name,'-')
  concat::fragment{$name:
    content => "${line}\n",
    order => $parts[1],
    target => "/etc/shorewall/puppet/${parts[0]}",
  }
}