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

downloadUrl attribute is not used #168

Open
jedatwork opened this issue Jul 24, 2019 · 0 comments
Open

downloadUrl attribute is not used #168

jedatwork opened this issue Jul 24, 2019 · 0 comments

Comments

@jedatwork
Copy link

I'm encountering a recurring issue with the current 19.253-6 collector installer where it throws the below error on install:
java.lang.UnsatisfiedLinkError: /tmp/kitchen/sumocollector.25886.dir/jre/lib/amd64/libfontmanager.so: libfreetype.so.6: cannot open shared object file: No such file or directory

I've been able to work around this issue by using the URL https://collectors.sumologic.com/rest/download/linux/64?version=19.245-6, however I'm unable to override the downloadUrl because the default provider hard codes the URL in installer_source.

Environment Information

Please include the following:

  • version of cookbook: 1.4.0
  • version of chef: 14.13.11
  • operating system: CentOS 6
  • resources that are affected by issue: attributes and default provider

Expected Behavior

What should have happened?
Overriding node['sumologic']['downloadUrl'] should have downloaded from the new URL

Actual Behavior

What actually happened?
The hard coded URL in installer_source was used and I got the installer missing the libfontmanager/libfreetype issue

Steps to Reproduce

Please list the steps required to reproduce the issue
Override the node['sumologic']['downloadUrl'] value in a role/.kitchen file; I'm unclear on how to verify the version since all files are saved as sumocollector, but as is currently I get the error and if I update installer_source to use node['sumologic']['downloadUrl'] the install succeeds.

jedatwork added a commit to jedatwork/sumologic-collector-chef-cookbook that referenced this issue Jul 24, 2019
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