aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorTim Meusel <tim@bastelfreak.de>2019-01-24 23:01:37 +0100
committerGitHub <noreply@github.com>2019-01-24 23:01:37 +0100
commit3612961ef7599afe37e224271629eb721965536c (patch)
tree0a873b92163c3d7012456212b9db75700508e5d5 /templates
parent8c14f40bb5bedad52b608287785ed92c146c4889 (diff)
parentc71d16a192e2ae701027408b431d02048988775e (diff)
downloadpuppet-ferm-3612961ef7599afe37e224271629eb721965536c.tar.gz
puppet-ferm-3612961ef7599afe37e224271629eb721965536c.tar.bz2
Merge pull request #35 from Dan33l/ip_versions
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';