aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 64a9f84..f095ce7 100644
--- a/README.md
+++ b/README.md
@@ -62,7 +62,7 @@ You can easily define rules in Puppet (they don't need to be exported resources)
chain => 'INPUT',
policy => 'ACCEPT',
proto => 'tcp',
- dport => '(9092 9093)',
+ dport => [9092, 9093],
saddr => "(${facts['networking']['ip6']}/128 ${facts['networking']['ip']}/32)",
tag => 'allow_kafka_server2server',
}
@@ -97,7 +97,9 @@ ferm::rules:
chain: 'INPUT'
policy: 'ACCEPT'
proto: 'tcp'
- dport: '(80 443)'
+ dport:
+ - 80
+ - 443
saddr: "%{alias('subnets')}"
```