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.25.0 lib/serverspec/type/lxc.rb
serverspec-2.24.3 lib/serverspec/type/lxc.rb
serverspec-2.24.2 lib/serverspec/type/lxc.rb
serverspec-2.24.1 lib/serverspec/type/lxc.rb
serverspec-2.24.0 lib/serverspec/type/lxc.rb
serverspec-2.23.1 lib/serverspec/type/lxc.rb
serverspec-2.23.0 lib/serverspec/type/lxc.rb
serverspec-2.22.0 lib/serverspec/type/lxc.rb
serverspec-2.21.1 lib/serverspec/type/lxc.rb
serverspec-2.21.0 lib/serverspec/type/lxc.rb
serverspec-2.20.0 lib/serverspec/type/lxc.rb
serverspec-2.19.0 lib/serverspec/type/lxc.rb
serverspec-2.18.0 lib/serverspec/type/lxc.rb
serverspec-2.17.1 lib/serverspec/type/lxc.rb
serverspec-2.17.0 lib/serverspec/type/lxc.rb
serverspec-2.16.0 lib/serverspec/type/lxc.rb
serverspec-2.15.0 lib/serverspec/type/lxc.rb
serverspec-2.14.1 lib/serverspec/type/lxc.rb
serverspec-2.14.0 lib/serverspec/type/lxc.rb
serverspec-2.13.0 lib/serverspec/type/lxc.rb