summaryrefslogtreecommitdiff
path: root/manifests/routestopped.pp
blob: aca57b51681b09fc3394a6e4713ca2dcfa44f3c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
define shorewall::routestopped(
    $interface = $name,
    $host = '-',
    $options = '',
    $order='100'
){
    $real_interface = $interface ? { 
        '' => $name,
        default => $interface,
    }   
    shorewall::entry{"routestopped-${order}-${name}":
        line => "${real_interface} ${host} ${options}",
    }           
}