Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aix_toolboxpackage reports uptodate for non-existant packages #113

Open
jkohlmeier opened this issue Oct 18, 2019 · 0 comments
Open

aix_toolboxpackage reports uptodate for non-existant packages #113

jkohlmeier opened this issue Oct 18, 2019 · 0 comments

Comments

@jkohlmeier
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant