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.38.0 lib/serverspec/type/lxc.rb
serverspec-2.37.2 lib/serverspec/type/lxc.rb
serverspec-2.37.1 lib/serverspec/type/lxc.rb
serverspec-2.37.0 lib/serverspec/type/lxc.rb
serverspec-2.36.1 lib/serverspec/type/lxc.rb
serverspec-2.36.0 lib/serverspec/type/lxc.rb
serverspec-2.35.0 lib/serverspec/type/lxc.rb
serverspec-2.34.0 lib/serverspec/type/lxc.rb
serverspec-2.33.0 lib/serverspec/type/lxc.rb
serverspec-2.32.0 lib/serverspec/type/lxc.rb
serverspec-2.31.1 lib/serverspec/type/lxc.rb
serverspec-2.31.0 lib/serverspec/type/lxc.rb
serverspec-2.30.1 lib/serverspec/type/lxc.rb
serverspec-2.30.0 lib/serverspec/type/lxc.rb
serverspec-2.29.2 lib/serverspec/type/lxc.rb
serverspec-2.29.1 lib/serverspec/type/lxc.rb
serverspec-2.29.0 lib/serverspec/type/lxc.rb
serverspec-2.28.0 lib/serverspec/type/lxc.rb
serverspec-2.27.0 lib/serverspec/type/lxc.rb
serverspec-2.26.0 lib/serverspec/type/lxc.rb