aboutsummaryrefslogtreecommitdiff
path: root/manifests/providers.pp
blob: 860363e5530245c53612d60b4fc6e2e94adc92ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
define shorewall::providers(
    $provider,
    $number = '',
    $mark = '',
    $duplicate = 'main',
    $interface = '',
    $gateway = '',
    $options = '',
    $copy = '',
    $order='100'
){
    shorewall::entry{"providers.d/${order}-${name}":
        line => "# ${name}\n${provider} ${number} ${mark} ${duplicate} ${interface} ${gateway} ${options} ${copy}"
    }
}