Hi Charlie! > 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
This is great! I will have a look at it. > 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 To be honest, I don’t know much about chef yet and how it really works, but as far as cherokee goes, it uses a config file of course. The cherokee-admin just makes editing this file easy. So wouldn’t it be possible to just use the admin to configure the file as you please and than use it as template inside chef and after putting up the server just use this fill this config file with the appropriate values and copy it to the location on the server? Maybe you then have to do a ‘killall -SIGHUP cherokee’ with chef so that the changes to the config file get picked up by cherokee. Will this work? Cheers Ivo
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
