summaryrefslogtreecommitdiff
path: root/puppet/modules/shorewall/manifests/rtrules.pp
blob: 3810f26d6ac5cfb7f2cbfe4de7fa086b1b6a7218 (plain)
1
2
3
4
5
6
7
8
9
10
11
define shorewall::rtrules(
    $source = '-',
    $destination = '-',
    $provider,
    $priority = '10000',
    $mark,
){
    shorewall::entry { "rtrules-${mark}-${name}":
        line => "# ${name}\n${source} ${destination} ${provider} ${priority} ${mark}",
    }
}