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