# Elasticsearch chef recipe fails on line 1

**URL:** <https://discuss.elastic.co/t/elasticsearch-chef-recipe-fails-on-line-1/17655>\
**Category:** Elasticsearch\
**Created:** [May 21, 2014, 8:43pm UTC](https://discuss.elastic.co/t/elasticsearch-chef-recipe-fails-on-line-1/17655 "2014-05-21T20:43:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank\_Flynn](https://avatars.discourse-cdn.com/v4/letter/f/a6a055/32.png) [@Frank\_Flynn](https://discuss.elastic.co/u/Frank_Flynn)\
**Post date:** [May 21, 2014, 8:43pm UTC](https://discuss.elastic.co/t/elasticsearch-chef-recipe-fails-on-line-1/17655/1 "2014-05-21T20:43:24Z")

</div>

I've downloaded the chef recipe (the elasticsearch one from github) and I’m  
trying to get it to work on my local Vagrent (precise1-Ubuntu) - if fails  
on the first line

default: 1\>\> [Chef::Recipe, Chef::Resource].each { |l| l.send :include,  
::Extensions }

the error is: uninitialized constant Extensions

I've dug around and realize ::Extensions is a module declared in  
elasticsearch/libraries/create\_ebs.rb - and yes that is there, readable and  
all. The line appears to be trying to include it.

At this point my recipe is this:

include\_recipe "java"

include\_recipe "elasticsearch"

Perhaps this is more of a chef question but does anyone have a clue why  
chef can't see ::Extensions?

Thanks,  
Frank

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a86041df-dd22-4701-b07a-47fce54dfd3e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a86041df-dd22-4701-b07a-47fce54dfd3e%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:27am UTC](https://discuss.elastic.co/t/elasticsearch-chef-recipe-fails-on-line-1/17655/2 "2017-07-06T01:27:48Z")

</div>

Closed on July 6, 2017, 1:27am UTC


