Sha256: 71fdb85a1f69360470691ebf5352bb75262a138d44c2dec0378fe4beb3d86c7a

Contents?: true

Size: 224 Bytes

Versions: 75

Compression:

Stored size: 224 Bytes

Contents

module Serverspec::Type
  class Bridge < Base
    def exists?
      @runner.check_bridge_exists(@name)
    end

    def has_interface?(interface)
      @runner.check_bridge_has_interface(@name, interface)
    end
  end
end 

Version data entries

75 entries across 75 versions & 3 rubygems

Version Path
serverspec-2.12.0 lib/serverspec/type/bridge.rb
serverspec-2.11.0 lib/serverspec/type/bridge.rb
serverspec-2.10.2 lib/serverspec/type/bridge.rb
serverspec-2.10.1 lib/serverspec/type/bridge.rb
serverspec-2.10.0 lib/serverspec/type/bridge.rb
serverspec-2.9.1 lib/serverspec/type/bridge.rb
serverspec-2.9.0 lib/serverspec/type/bridge.rb
serverspec-2.8.2 lib/serverspec/type/bridge.rb
serverspec-2.8.1 lib/serverspec/type/bridge.rb
serverspec-2.8.0 lib/serverspec/type/bridge.rb
serverspec-2.7.2 lib/serverspec/type/bridge.rb
serverspec-2.7.1 lib/serverspec/type/bridge.rb
serverspec-2.7.0 lib/serverspec/type/bridge.rb
serverspec-2.6.0 lib/serverspec/type/bridge.rb
serverspec-2.5.0 lib/serverspec/type/bridge.rb