itamae/cookbooks/consul-template/attributes.rb

11 lines
384 B
Ruby
Raw Normal View History

2019-03-03 08:50:49 +00:00
# -------------------------------------------
# Specifying the default settings:
# -------------------------------------------
node.reverse_merge!({
'consul-template' => {
'base_binary_url' => 'https://releases.hashicorp.com/consul-template/',
'arch' => node['kernel']['machine'] =~ /x86_64/ ? 'amd64' : '386',
'tmp_path' => '/tmp/itamae_tmp/consul-template.zip'
}
})