Sha256: 9161d0cec48c8984226dc71fde59c9f40e46af26dabcce805006b7fcf859e68f

Contents?: true

Size: 247 Bytes

Versions: 51

Compression:

Stored size: 247 Bytes

Contents

module Specinfra
  class HostInventory
    class Virtualization < Base
      def get
        res = {}
        if backend.run_command('ls /.dockerinit').success?
          res[:system] = 'docker'
        end
        res
      end
    end
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
specinfra-2.37.1 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.37.0 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.18 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.17 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.16 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.15 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.14 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.13 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.12 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.11 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.10 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.9 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.8 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.7 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.6 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.5 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.4 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.3 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.2 lib/specinfra/host_inventory/virtualization.rb
specinfra-2.36.1 lib/specinfra/host_inventory/virtualization.rb