2021-05-01 09:13:25 +00:00
|
|
|
# -------------------------------------------
|
|
|
|
# Specifying the default settings:
|
|
|
|
# -------------------------------------------
|
2024-06-10 02:45:12 +00:00
|
|
|
|
|
|
|
|
2021-05-01 09:13:25 +00:00
|
|
|
node.reverse_merge!({
|
|
|
|
'consulTemplate' => {
|
|
|
|
'baseUrl' => 'https://releases.hashicorp.com/consul-template/',
|
2024-06-10 02:45:12 +00:00
|
|
|
'version' => `curl -s https://releases.hashicorp.com/consul-template/ | htmlq -t 'a' | grep consul-template | head -n 1 | sed -e 's/^[^_]*_//g'`.chomp!,
|
2021-05-01 09:13:25 +00:00
|
|
|
'zipPrefix' => 'consul-template_',
|
|
|
|
'zipPostfix' => '_linux_amd64.zip',
|
|
|
|
'storage' => '/opt/consul-template/consul-template',
|
|
|
|
'location' => '/usr/local/bin/consul-template'
|
|
|
|
},
|
|
|
|
})
|