Sha256: 3d9257a2af2ac99ebd583e91bc446c69c232e23fc7d780ca80366aa94e6564f5

Contents?: true

Size: 255 Bytes

Versions: 6

Compression:

Stored size: 255 Bytes

Contents

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

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

      def to_s
        'LXC'
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta8 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta7 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta6 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta5 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta4 lib/serverspec/type/lxc.rb
serverspec-2.0.0.beta3 lib/serverspec/type/lxc.rb