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.7.0 lib/specinfra/command/aix/base/package.rb
specinfra-2.6.0 lib/specinfra/command/aix/base/package.rb
specinfra-2.5.0 lib/specinfra/command/aix/base/package.rb
specinfra-2.4.5 lib/specinfra/command/aix/base/package.rb
specinfra-2.4.4 lib/specinfra/command/aix/base/package.rb
specinfra-2.4.3 lib/specinfra/command/aix/base/package.rb
specinfra-2.4.2 lib/specinfra/command/aix/base/package.rb
specinfra-2.4.1 lib/specinfra/command/aix/base/package.rb
specinfra-2.4.0 lib/specinfra/command/aix/base/package.rb
specinfra-2.3.2 lib/specinfra/command/aix/base/package.rb
specinfra-2.3.1 lib/specinfra/command/aix/base/package.rb
specinfra-2.3.0 lib/specinfra/command/aix/base/package.rb
specinfra-2.2.4 lib/specinfra/command/aix/base/package.rb
specinfra-2.2.3 lib/specinfra/command/aix/base/package.rb
specinfra-2.2.2 lib/specinfra/command/aix/base/package.rb
specinfra-2.2.1 lib/specinfra/command/aix/base/package.rb
specinfra-2.2.0 lib/specinfra/command/aix/base/package.rb
specinfra-2.1.1 lib/specinfra/command/aix/base/package.rb
specinfra-2.1.0 lib/specinfra/command/aix/base/package.rb
specinfra-2.0.4 lib/specinfra/command/aix/base/package.rb