News for hackers. Stuff that matters.
Re:Puppet vs Chef, Fight by techscruggs on Sunday October 09, 2011 @02:05PM (#3090911)
I use Chef, but without the server (chef-solo). I have a hard time stomaching the idea of dealing with a Merb application (an abandoned framework) that has some rather complex dependencies (couchdb & rabbitmq). That being said, plenty of peers have told me that they have not experienced any problems with running a Chef server.

Maybe this means I should just fork up the cash for hosted Chef, but I don't see it as a 100$ a month value (I currently have 10 nodes and treat them all as ephemeral).

I do wonder why this is never brought up. Is it not seen as a red flag to anyone else that the core of Chef is built on Merb?

Re:Puppet vs Chef, Fight by lusis on Sunday October 09, 2011 @03:48PM (#3091152)
If you are unhappy with Merb then convert it to pure rack or sinatra and send a pull request. It works and it's seriously as low of a priority as I can imagine. The server is nothing more than an API endpoint. You can (and people have) rewritten the entire server component in Python.
Re:Puppet vs Chef, Fight by Woost on Sunday October 09, 2011 @03:05PM (#3091035)
Just as a warning: If you/anyone decides to self host a chef server, you have to get the chef-server cookbook (or your couchdb will never get compacted) and you can't be running ruby 1.9.1 (or the server will have ~1 week uptime before crashing randomly)

As for the core being built on merb. I don't really notice it. You'll probably never have a reason to go into the chef-server internals to change something. Besides that, it's not like it has to be serving 30k requests per second or anything.

Otherwise, the Issues I've run into with chef-server: it was a little annoying to get everything installed and playing together. Couchdb + solr are very temperamental. After everything was running and stabilized(1.9.1 bad!) I've had no issues with it.

Re:Puppet vs Chef, Fight by techscruggs on Sunday October 09, 2011 @03:17PM (#3091074)
What version of chef server are you using? It appears to have been fixed a while again: http://tickets.opscode.com/browse/CHEF-489 .

Perhaps your issue is not tied to your ruby version: http://tickets.opscode.com/browse/CHEF-920

Re:Puppet vs Chef, Fight by Woost on Sunday October 09, 2011 @04:07PM (#3091189)
The problem wasn't ruby 1.9, but ruby 1.9.1 specifically. I upgraded ruby to 1.9.2 and the stability issues went away. On 1.9.1 the server would randomly hang and require a kill -9+manual restart.
Re:Puppet vs Chef, Fight by davnola on Sunday October 09, 2011 @03:07PM (#3091040)
It's not the core, it's just the webui. I never use it, choosing in preference the REPL and the `knife` command.
Re:Puppet vs Chef, Fight by techscruggs on Sunday October 09, 2011 @03:13PM (#3091062)
Good to know, that does make my concern significantly more trivial.
Re:Puppet vs Chef, Fight by rubyrescue on Sunday October 09, 2011 @02:51PM (#3091001)
Kevin Smith gave a talk a few weeks ago in Atlanta, that they're slowly removing those dependencies. He did specifically mention removing Couch and didn't mention Merb but based on his approach to deciding to remove Couch I'm sure he's going to address it.