-
-
Notifications
You must be signed in to change notification settings - Fork 600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't find Monit template? #29
Comments
A got the same error... |
Seems weird, it should be looking in ES directory for the file -- will check the Monit cooknook for changes and fix. (BTW, the Monit integration needs to be split, so it's pluggable, not based on introspection in |
When I run (Runs on Chef 0.10.10 and 10.14.4) |
@cmer What kind of Monit cookbook are you using? |
Hi Karel, Sorry for the delay.. Just now I started to test again. In a clean ubuntu environment I added 3 cookbooks: clicksign-initialThe clicksign-initial just run apt and add some packages:
monitThe monit cookbook is from: elasticsearchThe elasticsearch cookbook is from your, with no argument and no data-bag. Here is the problem:
|
I also installed the "java::openjdk". |
Hey, I think the problem will be in the |
@mbbernstein @cmer So, don't know what's up with the
[Mon, 15 Oct 2012 07:11:42 +0000] INFO: Making monitrc for: elasticsearch [Mon, 15 Oct 2012 07:11:42 +0000] INFO: Processing template[/etc/monit/conf.d/elasticsearch.conf] action create (elasticsearch::default line 8) [Mon, 15 Oct 2012 07:11:42 +0000] DEBUG: Current content's checksum: [Mon, 15 Oct 2012 07:11:42 +0000] DEBUG: Rendered content's checksum: 0ae1235b94fe2cc02c507273b1dd62ea8741ed338aa2917b48cd272e7e2a3749 [Mon, 15 Oct 2012 07:11:42 +0000] INFO: template[/etc/monit/conf.d/elasticsearch.conf] mode changed to 644 [Mon, 15 Oct 2012 07:11:42 +0000] INFO: template[/etc/monit/conf.d/elasticsearch.conf] updated content |
@mbbernstein @cmer Please check out current master and report any issues -- really should work. Would like to close this issue. |
Hi, I put this aside for now. I'll try it again in the coming weeks. Thanks for looking into it! |
Cool, I was running through the http://www.elasticsearch.org/tutorials/2012/03/21/deploying-elasticsearch-with-chef-solo.html tutorial as well, and couldn't reproduce the issue -- will close it for now, please re-open if you bump into it again, all right? |
I'm having the same issue with latest from master, getting the following error:
Looks like it's looking for the elasticsearch.conf.erb in the monit cookbook rather than elasticsearch, does it need to specific a |
This is really annoying -- I'd very much love to debug and fix this, but the problem is that I just can't reproduce it. I have tried just now and succesfully build a Vagrant box (
The location of the The cookbook relies on the 1/ I'm wondering if relying on the 2/ I'm also wondering about the error, because the 3/ Is it possible you'd try to change the Elasticsearch cookbook to pass the |
I've just run |
I'm very new to chef (and Ruby) so I could be completely off the mark, but it appears the problem occurred when the elasticsearch cookbook was not the primary recipe being executed (is there such a thing? Like I said, I'm very new to this!). In my app I used it as a git submodule specified using |
Huh, so after making this change yesterday, tonight I converted my project to use Berkshelf rather than git submodules and it provisions correctly without my changes. No idea what that suggests... |
… template Closes #29, closes #8 Related: apsoto/monit@ed83113
While investigating Monit issues, pushed 42db58c -- the Monit integration actually has been relying on default template location/filename. Should work now -- added a test to Vagrant as well. |
The recipe seems to be looking for the Monit template in the wrong place?
The text was updated successfully, but these errors were encountered: