Sha256: b929f5b35008b00617c79536f4d860d1faa84fe3da3a41f298a3d9c229d559f9

Contents?: true

Size: 322 Bytes

Versions: 381

Compression:

Stored size: 322 Bytes

Contents

class Specinfra::Command::Aix::Base::Package < Specinfra::Command::Base::Package
  class << self
    def check_is_installed(package, version=nil)
      if version
        "lslpp -L #{escape(package)} | awk '{print $2}' |  grep -w -- #{version}"
      else
        "lslpp -L #{escape(package)}"
      end
    end
  end
end

Version data entries

381 entries across 381 versions & 3 rubygems

Version Path
specinfra-2.66.7 lib/specinfra/command/aix/base/package.rb
specinfra-2.66.6 lib/specinfra/command/aix/base/package.rb
specinfra-2.66.5 lib/specinfra/command/aix/base/package.rb
specinfra-2.66.4 lib/specinfra/command/aix/base/package.rb
specinfra-2.66.3 lib/specinfra/command/aix/base/package.rb
specinfra-2.66.2 lib/specinfra/command/aix/base/package.rb
specinfra-2.66.1 lib/specinfra/command/aix/base/package.rb
specinfra-2.66.0 lib/specinfra/command/aix/base/package.rb
specinfra-2.65.0 lib/specinfra/command/aix/base/package.rb
specinfra-2.64.0 lib/specinfra/command/aix/base/package.rb
specinfra-2.63.3 lib/specinfra/command/aix/base/package.rb
specinfra-2.63.2 lib/specinfra/command/aix/base/package.rb
specinfra-2.63.1 lib/specinfra/command/aix/base/package.rb
specinfra-2.63.0 lib/specinfra/command/aix/base/package.rb
specinfra-2.62.0 lib/specinfra/command/aix/base/package.rb
specinfra-2.61.3 lib/specinfra/command/aix/base/package.rb
specinfra-2.61.2 lib/specinfra/command/aix/base/package.rb
specinfra-2.61.1 lib/specinfra/command/aix/base/package.rb
specinfra-2.61.0 lib/specinfra/command/aix/base/package.rb
specinfra-2.60.4 lib/specinfra/command/aix/base/package.rb