aboutsummaryrefslogtreecommitdiff
path: root/spec/acceptance
diff options
context:
space:
mode:
authorThore Bödecker <me@foxxx0.de>2020-06-22 15:53:06 +0200
committerThore Bödecker <me@foxxx0.de>2020-06-22 16:17:13 +0200
commite048afaec245b19ed8a94a8e2e893c9c9b4e47e6 (patch)
treec3801f67583f08c9730ff60e9fb5cc6bffe0f613 /spec/acceptance
parent8d967c7b915fec97846b1d6b567489646b3096a3 (diff)
downloadpuppet-ferm-e048afaec245b19ed8a94a8e2e893c9c9b4e47e6.tar.gz
puppet-ferm-e048afaec245b19ed8a94a8e2e893c9c9b4e47e6.tar.bz2
implement multiport support for dport/sport
Diffstat (limited to 'spec/acceptance')
-rw-r--r--spec/acceptance/ferm_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/acceptance/ferm_spec.rb b/spec/acceptance/ferm_spec.rb
index f8f0ef4..eee01fa 100644
--- a/spec/acceptance/ferm_spec.rb
+++ b/spec/acceptance/ferm_spec.rb
@@ -126,14 +126,14 @@ describe 'ferm' do
chain => 'INPUT',
action => 'HTTP',
proto => 'tcp',
- dport => '80',
+ dport => 80,
require => Ferm::Chain['check-http'],
}
ferm::rule { 'allow_http_localhost':
chain => 'HTTP',
action => 'ACCEPT',
proto => 'tcp',
- dport => '80',
+ dport => 80,
saddr => '127.0.0.1',
require => Ferm::Chain['check-http'],
}