sous-chefs / consul

Development repository for the consul cookbook
https://supermarket.chef.io/cookbooks/consul
Apache License 2.0
192 stars 244 forks source link

Add/document getting consul from an internal url #383

Closed swilson-uscis closed 5 years ago

swilson-uscis commented 7 years ago

Based on: https://github.com/johnbellone/consul-cookbook/blob/master/libraries/consul_installation_binary.rb#L38 it doesn't appear this is currently supported (and surely isn't documented/obvious)

legal90 commented 7 years ago

Hi @swilson-uscis The answer is here: https://github.com/johnbellone/consul-cookbook/issues/342#issuecomment-249743094 You can override node['consul']['options']['archive_url'] by any string (interpolated variables base_name and variables could be used, but not required). Example:

node.override['consul']['options']['archive_url'] = "https://my.host.org/consul.zip"

But yeah, we should definitely document such things... :(

damacus commented 5 years ago

Closing as fixed.

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.