aboutsummaryrefslogtreecommitdiff
path: root/manifests/routestopped.pp
blob: dab539c54f71a7fd95c1c3b4e89aea660c1f1958 (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.d/${order}-${name}":
        line => "${real_interface} ${host} ${options}",
    }           
}