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