Sha256: 08cca8656b0240c5c6d639aa96271f3fe2e3dee2328ecdc5e5401a438fab9a5f

Contents?: true

Size: 201 Bytes

Versions: 85

Compression:

Stored size: 201 Bytes

Contents

module Serverspec::Type
  class Iptables < Base
    def has_rule?(rule, table, chain)
      @runner.check_iptables_has_rule(rule, table, chain)
    end

    def to_s
      'iptables'
    end
  end
end

Version data entries

85 entries across 85 versions & 4 rubygems

Version Path
serverspec-2.12.0 lib/serverspec/type/iptables.rb
serverspec-2.11.0 lib/serverspec/type/iptables.rb
serverspec-2.10.2 lib/serverspec/type/iptables.rb
serverspec-2.10.1 lib/serverspec/type/iptables.rb
serverspec-2.10.0 lib/serverspec/type/iptables.rb
serverspec-2.9.1 lib/serverspec/type/iptables.rb
serverspec-2.9.0 lib/serverspec/type/iptables.rb
serverspec-2.8.2 lib/serverspec/type/iptables.rb
serverspec-2.8.1 lib/serverspec/type/iptables.rb
serverspec-2.8.0 lib/serverspec/type/iptables.rb
serverspec-2.7.2 lib/serverspec/type/iptables.rb
serverspec-2.7.1 lib/serverspec/type/iptables.rb
serverspec-2.7.0 lib/serverspec/type/iptables.rb
serverspec-2.6.0 lib/serverspec/type/iptables.rb
serverspec-2.5.0 lib/serverspec/type/iptables.rb
serverspec-2.4.0 lib/serverspec/type/iptables.rb
serverspec-2.3.1 lib/serverspec/type/iptables.rb
serverspec-2.3.0 lib/serverspec/type/iptables.rb
serverspec-2.2.0 lib/serverspec/type/iptables.rb
serverspec-clc-2.1.0 lib/serverspec/type/iptables.rb