aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorFabien COMBERNOUS <fabien.combernous@adullact.org>2019-01-24 21:40:30 +0100
committerFabien COMBERNOUS <fabien.combernous@adullact.org>2019-01-24 21:49:25 +0100
commitc71d16a192e2ae701027408b431d02048988775e (patch)
tree0a873b92163c3d7012456212b9db75700508e5d5 /templates
parent8c14f40bb5bedad52b608287785ed92c146c4889 (diff)
downloadpuppet-ferm-c71d16a192e2ae701027408b431d02048988775e.tar.gz
puppet-ferm-c71d16a192e2ae701027408b431d02048988775e.tar.bz2
permit to choose ipv4, ipv6 or both
Diffstat (limited to 'templates')
-rw-r--r--templates/ferm.conf.epp3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/ferm.conf.epp b/templates/ferm.conf.epp
index 42a44be..37afca0 100644
--- a/templates/ferm.conf.epp
+++ b/templates/ferm.conf.epp
@@ -1,6 +1,7 @@
+<%- | String[1] $ip | -%>
# End custom section
-domain (ip ip6) table filter {
+domain (<%= $ip %>) table filter {
chain INPUT {
interface lo ACCEPT;
@include '/etc/ferm.d/chains/INPUT.conf';