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