my node.json looks like this:
{
"run_list": ["recipe[elasticsearch::plugins]",
"recipe[elasticsearch::nginx]",
"recipe[elasticsearch::proxy]" ],
"plugins" : {
"karmi/elasticsearch-paramedic" : {}
},
"nginx" : {
"users" : [ { "username" : "USERNAME", "password" : "PASSWORD" } ],
"allow_cluster_api" : true
}
}
and i keep getting the same error
"Chef::Exceptions::CookbookNotFound: Cookbook elasticsearch not found. If
you're loading elasticsearch from another cookbook, make sure you configure
the dependency in your metadata"
I think maybe I extracted it in the wrong directory..
On Friday, November 29, 2013 6:03:22 PM UTC+2, Karel MinaÅ™Ãk wrote:
so all need to do is install chef cookbook and configure proxy in my
run_list?
Yes, download the cookbook to the server (scp, knife upload
, etc), and
include "elasticsearch::proxy" in your run_list.
Configure the Nginx proxy accordingly. See e.g.
https://github.com/elasticsearch/cookbook-elasticsearch/blob/master/Vagrantfile#L151-L153
and it will work for my existing Elasticsearch installation?
By default, it will point to localhost:9200
, see
https://github.com/elasticsearch/cookbook-elasticsearch/blob/master/templates/default/elasticsearch_proxy.conf.erb#L26
By the way, do notice that the stock template doesn't provide any
filtering of HTTP methods, as you originally wanted.
Karel
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5f58f846-04c5-41dd-937d-4d09df940db7%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.