-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Incorrect repo url for Suse 11.3 #57
Comments
Just changed line 216 of params.pp to:
However, there is another problem. The vmware repo URL now redirects to https://, and on SuSE 11.3 the rpm binary can't handle SSL. In other words this doesn't work:
The safe way to make this work is to wget the key first and then import a local file. @razorsedge, what would you recommend for a pull request: adding a wget requirement or using some download_file type module, or some other option? |
@akomakom There should be plenty of modules that implement a file download. No need to re-invent one. The Does changing line 216 also work for other SuSE versions? |
@razorsedge I certainly have no plans to roll my own download module, I was referring to puppet/download_file as an example, but upon closer inspection that turns out to be a windows-only module. There are plenty out there. Your other questions bring up a good point: The URL structure seems valid for all 11.x and 9.x suse versions: For 12.x this module doesn't apply anyway. |
I just confirmed that my original change also works for SLES 11.4 (but again, it relies on stringify_facts = false so may not work in some Puppet 3.x deployments). The change, for clarity, was:
The original problem still remains - you have to perform rpm --import VMWARE-PACKAGING-GPG-RSA-KEY.pub yourself because (at least on some SLES 11.4 installs I have) rpm can't handle being redirected to https. |
manifests/repo.pp constructs the following (invalid) url on SLES11.3:
http://packages.vmware.com/tools/esx/latest/sles11.3/x86_64/
It uses $::operatingsystemrelease in the string which is "11.3" on this version.
The correct URL would be:
https://packages.vmware.com/tools/esx/latest/sles11sp3/x86_64/
(note "11sp3" instead of "11.3")
If I get this working properly I may make a PR
The text was updated successfully, but these errors were encountered: