Sha256: 577503c9360ac7fe09860d6eb45614fa5f6d03b41a0351208ca799f79babcdde

Contents?: true

Size: 335 Bytes

Versions: 42

Compression:

Stored size: 335 Bytes

Contents

class Specinfra::Command::Esxi::Base::Package < Specinfra::Command::Linux::Base::Package
  class << self
    def check_is_installed(package, version=nil)
      cmd = "esxcli software vib list | grep -w -- #{escape(package)}"
      if version
        cmd = "#{cmd} | grep -w -- #{escape(version)}"
      end
      cmd
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
specinfra-2.82.5 lib/specinfra/command/esxi/base/package.rb
specinfra-2.82.4 lib/specinfra/command/esxi/base/package.rb