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