Sha256: 4b4aad909e0acd3dde7d05f62ec44693e47c7a43cc902231b08bf4e002d68448

Contents?: true

Size: 237 Bytes

Versions: 85

Compression:

Stored size: 237 Bytes

Contents

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

    def running?
      @runner.check_lxc_container_is_running(@name)
    end

    def to_s
      'LXC'
    end
  end
end

Version data entries

85 entries across 85 versions & 4 rubygems

Version Path
serverspec-2.42.3 lib/serverspec/type/lxc.rb
serverspec-2.42.2 lib/serverspec/type/lxc.rb
serverspec-2.42.1 lib/serverspec/type/lxc.rb
serverspec-cem-acpt-2.42.0 lib/serverspec/type/lxc.rb
serverspec-2.42.0 lib/serverspec/type/lxc.rb
serverspec-2.41.8 lib/serverspec/type/lxc.rb
serverspec-2.41.7 lib/serverspec/type/lxc.rb
serverspec-2.41.6 lib/serverspec/type/lxc.rb
serverspec-2.41.5 lib/serverspec/type/lxc.rb
serverspec-2.41.4 lib/serverspec/type/lxc.rb
serverspec-ruby19-2.24.3 lib/serverspec/type/lxc.rb
serverspec-2.41.3 lib/serverspec/type/lxc.rb
serverspec-2.41.2 lib/serverspec/type/lxc.rb
serverspec-2.41.1 lib/serverspec/type/lxc.rb
serverspec-2.41.0 lib/serverspec/type/lxc.rb
serverspec-2.40.0 lib/serverspec/type/lxc.rb
serverspec-2.39.2 lib/serverspec/type/lxc.rb
serverspec-2.39.1 lib/serverspec/type/lxc.rb
serverspec-2.39.0 lib/serverspec/type/lxc.rb
serverspec-2.38.1 lib/serverspec/type/lxc.rb