aboutsummaryrefslogtreecommitdiff
path: root/templates/ferm-table-chain-config-include.epp
blob: 722d3e765e44085be55e5020830e630dc1eb59aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<%- | String[1] $ip,
Ferm::Tables $table,
String[1] $chain,
Stdlib::Absolutepath $filename,
| -%>

domain (<%= $ip %>) table <%= $table %> {
    chain <%= $chain %> {
        <%- if $table == 'filter' and $chain == 'INPUT' { -%>
        interface lo ACCEPT;
        <%- } -%>
        @include '<%= $filename %>';
    }
}