-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Cookbook version
[Version of the cookbook where you are encountering the issue]
2.3.2
Chef-client version
[Version of chef-client in your environment]
14.14.0
Platform Details
[Operating system distribution and release version. Cloud provider if running in the cloud]
AIX 7100-02-07-1524
Scenario:
[What you are trying to achieve and you can't?]
Trying to install a package that isnt within the 'helpers' library file list,
Mistakenly tried to install a package that needed to be installed differently.
Found issue that it was reporting up-to-date when the package doesn't exist.
Steps to Reproduce:
[If you are filing an issue what are the things we need to do in order to repro your problem? How are you using this cookbook or any resources it includes?]
Run this code in isolation.
aix_toolboxpackage "hellothere" do
action :install
end
Expected Result:
[What are you expecting to happen as the consequence of above reproduction steps?]
Should report failure to find the package and exit.
Actual Result:
[What actually happens after the reproduction steps? Include the error output or a link to a gist if possible.]
p224n95.pbm.ihost.com Recipe: rac18::c_linux
p224n95.pbm.ihost.com * log[
p224n95.pbm.ihost.com +------------------------------------------------------------+
p224n95.pbm.ihost.com | |
p224n95.pbm.ihost.com | Recipe:c_linux |
p224n95.pbm.ihost.com | |
p224n95.pbm.ihost.com +------------------------------------------------------------+
p224n95.pbm.ihost.com ] action write
p224n95.pbm.ihost.com
p224n95.pbm.ihost.com * log[] action write[2019-10-18T13:07:35-05:00] WARN: print out timestamp
p224n95.pbm.ihost.com
p224n95.pbm.ihost.com
p224n95.pbm.ihost.com * aix_toolboxpackage[hellothere] action install (up to date)
p224n95.pbm.ihost.com
p224n95.pbm.ihost.com Running handlers:
p224n95.pbm.ihost.com Running handlers complete
p224n95.pbm.ihost.com Chef Client finished, 4/5 resources updated in 09 seconds