Sha256: 8796f314dc51eb61be49db0c54f2e097f334ae6f987c87ecb1a2d86d39fe6939

Contents?: true

Size: 204 Bytes

Versions: 14

Compression:

Stored size: 204 Bytes

Contents

module Serverspec
  module Type
    class Ipfilter < Base
      def has_rule?(rule)
        backend.check_ipfilter_rule(nil, rule)
      end

      def to_s
        'ipfilter'
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

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