blob: 79aeb5c05856ea4f4d11b93ce89e83b826351ca3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<%- | String[1] $ip,
Ferm::Tables $table,
String[1] $chain,
Hash[String[1], Ferm::Actions] $sets,
| -%>
domain (<%= $ip %>) table <%= $table %> {
chain <%= $chain %> {
<%- $sets.each |$ipset, $action| { -%>
mod set set <%= $ipset %> src <%= $action %>;
<%- } -%>
}
}
|