Sha256: 958da11017f5ba16513368e0a7a4f0641314dedd9ab251e354c9f1f215247c0e
Contents?: true
Size: 308 Bytes
Versions: 9
Compression:
Stored size: 308 Bytes
Contents
class Specinfra::Helper::DetectOs::Esxi < Specinfra::Helper::DetectOs def self.detect if run_command('vmware -v').success? line = run_command('vmware -v').stdout if line =~ /VMware ESXi (.*)/ release = $1 end { :family => 'esxi', :release => release } end end end
Version data entries
9 entries across 9 versions & 1 rubygems