Chef attributes will not work


#1

Wowee

attributes/default.rb

default[:elasticsearch][:version] = “1.4.2”

recipe

version = node[:elasticsearch][:version]

OMG…my error…why? How do a variable sub?
https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-.deb

================================================================================
Error executing action create_if_missing on resource
’remote_file[/var/chef/cache/elasticsearch-.deb]’

================================================================================

Net::HTTPServerException
------------------------
404 "Not Found"

Resource Declaration:
---------------------
# In

/var/etl-chef/chef-repo/site-cookbooks/elasticsearch/recipes/default.rb

 49: remote_file

“#{Chef::Config[:file_cache_path]}/elasticsearch-#{version}.deb” do
50: source "
https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-#{version}.deb
"
51: action :create_if_missing
52: end
53: