Skip to content

downloadUrl attribute is not used #168

@jedatwork

Description

@jedatwork

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions