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.1.0 lib/serverspec/type/iptables.rb
serverspec-2.0.1 lib/serverspec/type/iptables.rb
serverspec-2.0.0 lib/serverspec/type/iptables.rb
serverspec-2.0.0.beta21 lib/serverspec/type/iptables.rb
serverspec-2.0.0.beta20 lib/serverspec/type/iptables.rb