entry.pp 247 Bytes
Newer Older
1
define shorewall::entry(
mh's avatar
mh committed
2
    $ensure = present,
3 4
    $line
){
5 6 7 8 9 10 11
  $parts = split($name,'-')
  concat::fragment{$name:
    ensure => $ensure,
    content => "${line}\n",
    order => $parts[1],
    target => "/etc/shorewall/puppet/${parts[0]}",
  }
12
}