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.38.0 lib/serverspec/type/iptables.rb
serverspec-2.37.2 lib/serverspec/type/iptables.rb
serverspec-2.37.1 lib/serverspec/type/iptables.rb
serverspec-2.37.0 lib/serverspec/type/iptables.rb
serverspec-2.36.1 lib/serverspec/type/iptables.rb
serverspec-2.36.0 lib/serverspec/type/iptables.rb
serverspec-2.35.0 lib/serverspec/type/iptables.rb
serverspec-2.34.0 lib/serverspec/type/iptables.rb
serverspec-2.33.0 lib/serverspec/type/iptables.rb
serverspec-2.32.0 lib/serverspec/type/iptables.rb
serverspec-2.31.1 lib/serverspec/type/iptables.rb
serverspec-2.31.0 lib/serverspec/type/iptables.rb
serverspec-2.30.1 lib/serverspec/type/iptables.rb
serverspec-2.30.0 lib/serverspec/type/iptables.rb
serverspec-2.29.2 lib/serverspec/type/iptables.rb
serverspec-2.29.1 lib/serverspec/type/iptables.rb
serverspec-2.29.0 lib/serverspec/type/iptables.rb
serverspec-2.28.0 lib/serverspec/type/iptables.rb
serverspec-2.27.0 lib/serverspec/type/iptables.rb
serverspec-2.26.0 lib/serverspec/type/iptables.rb