Skip to content

added downloadurl parameter to support pulling the binary from a remo…#9

Open
ozkatz wants to merge 1 commit intoajcurated:masterfrom
ozkatz:master
Open

added downloadurl parameter to support pulling the binary from a remo…#9
ozkatz wants to merge 1 commit intoajcurated:masterfrom
ozkatz:master

Conversation

@ozkatz
Copy link

@ozkatz ozkatz commented Jul 18, 2015

I've added another parameter called downloadurl, which if set, will attempt to pull the binary from a URL. This is done mostly in order to avoid placing confd's binary inside the site module.

Once set, wget will be used to pull the binary - unless it already exists and confd --version reports the same version number as set by $confd::version.

Tested this on CentOS 6.5 and Ubuntu 14.04.

@ajcurated
Copy link
Owner

Hi @ozkatz this looks like a good addition, could you fix the linting issues and format the class params the same as the others and it might be worth adding a package_ensure for wget.

Then I'll merge this in!

@ajcurated
Copy link
Owner

Hi @ozkatz keen to merge this if you can fix the above.

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

Successfully merging this pull request may close these issues.

2 participants