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
change in puppet 4.5.0 causing archive type to fail when extract_path not used #166
Comments
@hdeadman if you run puppet with |
Here is the trace but it doesn't help too much. It does show the problem coming from an autorequire. I know the cause is the self[:extract_path] line because I can comment that out and it will run. I am invoking archive indirectly through jenkins::plugin{'git': } and the error only happens if the jenkins plugin is not already installed.
|
Hmm, ok, I was curious if it would show the actual provider line that it was erroring out on but no such luck 😞 But yes it looks like the likely culprit is the |
Firexd in #167 |
I think something may have changed in the newly release Puppet 4.5.0 that makes this statement from
archive.rb fail:
It fails if the extract_path parameter is not used (which is the case in the rtyler/jenkins plugin.pp file. When it fails the error message is as follows:
There is no indication of where in the catalog that error is coming from so it is painful to track down.
The fix is to make the autorequire of a file named self[:extract_path] conditional on that parameter being defined.
The text was updated successfully, but these errors were encountered: