Sha256: bed7f36d324aeef70bcc7480d832c79c03feba340cf0ad809f4d3e6ea26680a6

Contents?: true

Size: 273 Bytes

Versions: 11

Compression:

Stored size: 273 Bytes

Contents

module Serverspec
  module 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
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta19 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta18 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta17 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta16 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta15 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta14 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta13 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta12 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta11 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta10 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta9 lib/serverspec/type/lxc.rb