added influxdb::source_url so you can pass this in instead of use ama…#1
added influxdb::source_url so you can pass this in instead of use ama…#1rplessl merged 1 commit intorplessl:masterfrom
Conversation
|
Thank you @hurrycaine for the pull request! I'd like to merge this, though I have some remarks / comments / questions.
Thanks again for your submission! |
|
download_url instead of source_url is in my point of view clearer |
Example: class sensu_install::profiles::influxdb (
...
$version = '0.9.1',
$classifier = '1.x86_64',
)
...
url = "https://code.blah.com/artifacts/content/repositories/thirdparty/com/influxdb/influxdb/${version}/influxdb-${version}-${classifier}.rpm"Do you agree with keeping it as the full url? /2. Maybe I'm wrong but I thought it was a duplicate, under the context 'installing from a repository' there is already a check for package existing. It made less since to keep the package check in the top most describe scope after I added the context 'install from web'. It did not hurt to leave it in by any means, I can add it back. /3. No problem. Thanks for all your hard work keeping this module up to date! It looks like the original owner is no longer keeping track of issue and pulls, and your fork seems to be the best fork. I wonder if at some time we should make this a non-fork, name it influxdb-puppet or something. download_url vs source_url vs ? |
|
hi @hurrycaine!
Please update the API point 1 ... I will merge it 👍 . Thx! |
|
I have made the suggested updates, source_url is no more! (except the branch name...) |
…zon s3
This maintains the current functionality by default but adds a source_url that can be passed that overrides the amazon.s3 download url. It also expects full path, no url + name etc...
My companies servers do not have access to the internet and we store 3rd party apps in nexus.
I also updated the Readme and added unit tests to test the new conditional.
Please let me know if you have any questions!
I also have some other ideas...