On Thu, May 26, 2011 at 2:13 PM, Ivo Brodien <[email protected]> wrote: > Just wondering if anyone know/have of a recipe to use with chef? > > I cannot find anything here http://community.opscode.com/cookbooks, although > there seems to be all kinds of servers. > _______________________________________________ > Cherokee mailing list > [email protected] > http://lists.octality.com/listinfo/cherokee
I have a basic Cookbook which I have posted here: https://github.com/Sharpie/Chef-Cookbooks This has only been tested on Ubuntu 10.10 and you will need to import both the cherokee and ppa cookbooks. Using the cherokee cookbook executes the following tasks: * Adds the Cherokee PPA repository to the apt sources lists * Uses apt to install Cherokee * Sets Cherokee to launch at startup The main problem with using Chef to deploy Cherokee is that there is no way to programmatically configure virtual servers. This means that after Chef sets up the server, you have to go in and configure all your webapps **by hand** using cherokee-admin, which pretty soundly defeats the purpose of using Chef to achieve automagic configuration and deployment. I love Cherokee and I love it's administration interface. However given the lack of a way to programmatically set up servers, I will probably end up switching to Nginx, Apache or something else that can be automatically configured by Chef or Puppet. Given how nice the "configure once, deploy anywhere" aspect of systems like Chef and Puppet are, it is a pretty ugly defect that Cherokee can't integrate into these workflows. If anyone knows of a way to script the Cherokee configuration process, I would love to hear about it. -Charlie _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
