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.1.0 lib/serverspec/type/lxc.rb
serverspec-2.0.1 lib/serverspec/type/lxc.rb
serverspec-2.0.0 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta21 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta20 lib/serverspec/type/lxc.rb