Sha256: 389f9b2ac8147feb8e75933d75db4a4172939a59b6e9eeee6511d0da98af368c

Contents?: true

Size: 231 Bytes

Versions: 16

Compression:

Stored size: 231 Bytes

Contents

module Serverspec
  module Type
    class Iptables < Base
      def has_rule?(rule, table, chain)
        backend.check_iptables_rule(nil, rule, table, chain)
      end
      def to_s
        'iptables'
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
serverspec-0.5.3 lib/serverspec/type/iptables.rb
serverspec-0.5.2 lib/serverspec/type/iptables.rb
serverspec-0.5.1 lib/serverspec/type/iptables.rb
serverspec-0.5.0 lib/serverspec/type/iptables.rb
serverspec-0.4.14 lib/serverspec/type/iptables.rb
serverspec-0.4.13 lib/serverspec/type/iptables.rb
serverspec-0.4.12 lib/serverspec/type/iptables.rb
serverspec-0.4.11 lib/serverspec/type/iptables.rb
serverspec-0.4.10 lib/serverspec/type/iptables.rb
serverspec-0.4.9 lib/serverspec/type/iptables.rb
serverspec-0.4.8 lib/serverspec/type/iptables.rb
serverspec-0.4.7 lib/serverspec/type/iptables.rb
serverspec-0.4.6 lib/serverspec/type/iptables.rb
serverspec-0.4.5 lib/serverspec/type/iptables.rb
serverspec-0.4.4 lib/serverspec/type/iptables.rb
serverspec-0.4.3 lib/serverspec/type/iptables.rb