AIX packages

This commit is contained in:
Jeremy W. Chalfant 2015-12-21 11:58:56 -06:00 committed by Christoph Hartmann
parent 1d99afe623
commit a0bbb175c2

View file

@ -195,7 +195,7 @@ class BffPkg < PkgManagement
cmd = inspec.command("lslpp -cL #{package_name}")
return nil if cmd.exit_status.to_i != 0
bff_pkg = cmd.stdout.split("\n").last.split(':')
bff_pkg = cmd.stdout.chomp.split("\n").last.split(':')
{
name: bff_pkg[1],
installed: true,