diff options
author | Tim Meusel <tim@bastelfreak.de> | 2020-06-22 16:41:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 16:41:05 +0200 |
commit | 87c586fd8a92d1b92fc6e5529f24264c39978448 (patch) | |
tree | 3fb08c91a1163524254be077e749b13b4b7f861f /spec/acceptance | |
parent | 8d967c7b915fec97846b1d6b567489646b3096a3 (diff) | |
parent | 8bca772e35c437ec1b750d2bc5fb332cc5d09db6 (diff) | |
download | puppet-ferm-87c586fd8a92d1b92fc6e5529f24264c39978448.tar.gz puppet-ferm-87c586fd8a92d1b92fc6e5529f24264c39978448.tar.bz2 |
Merge pull request #112 from foxxx0/add-multiport-support
implement multiport support for dport/sport / drop string support for sport/dport
Diffstat (limited to 'spec/acceptance')
-rw-r--r-- | spec/acceptance/ferm_spec.rb | 4 |
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'], } |