I am trying to write my first wrapper chef cookbook around elastic search and have run into a problem when running elasticsearch_configure and elasticsearch_service
The error goes like this
RuntimeError
------------
File templates/default/elasticsearch.in.sh.erb does not exist for cookbook elasticsearch
I can confirm that the elasticsearch cookbook does have the file in question.
The offending resources
elasticsearch_configure 'elasticsearch-logging'
elasticsearch_service 'elasticsearch-logging' do
service_actions :enable
end
I am testing all of this with chef-solo using chef-solo -c config.rb -j test.json
config.rb
cookbook_path ["/tmp/cookbooks",
"/user/.berkshelf/cookbooks/"]
local_mode true
chef_zero.enabled true
test.json
{
"run_list": [
"recipe[elastic-cookbook::default]"
]
}
Any help would be greatly appreciated