[Cherokee] Best way to configure Cherokee via script?

9 views
Skip to first unread message

Patrick Breitenbach

unread,
Dec 17, 2010, 6:49:07 PM12/17/10
to cher...@lists.octality.com
I see a lot of notices to avoid manually editing the Cherokee configuration file and instead use the GUI. However, it's frequently necessary to script a deployment (shell script, fabric, etc) so I'm wondering if anyone has best practices for that?
-pb-
_______________________________________________
Cherokee mailing list
Cher...@lists.octality.com
http://lists.octality.com/listinfo/cherokee

James Pearson

unread,
Dec 17, 2010, 7:17:11 PM12/17/10
to cher...@lists.octality.com
On Fri, Dec 17, 2010 at 3:49 PM, Patrick Breitenbach <pbreit...@gmail.com> wrote:
I see a lot of notices to avoid manually editing the Cherokee configuration file and instead use the GUI. However, it's frequently necessary to script a deployment (shell script, fabric, etc) so I'm wondering if anyone has best practices for that?

There are unfortunately Cherokee scripts for neither Chef[0] nor Puppet[1] (yet).  I'm actually looking into that myself, as learning Vagrant has kicked me into researching better ways to keep track of server configuration.

[0]: http://cookbooks.opscode.com/search?query=category%3A"Web+Servers"
[1]: http://forge.puppetlabs.com/tags/webservers

Alvaro Lopez Ortega

unread,
Dec 18, 2010, 3:35:35 AM12/18/10
to Patrick Breitenbach, cher...@lists.octality.com
On 18/12/2010, at 00:49, Patrick Breitenbach wrote:

> I see a lot of notices to avoid manually editing the Cherokee configuration file and instead use the GUI. However, it's frequently necessary to script a deployment (shell script, fabric, etc) so I'm wondering if anyone has best practices for that?

As far as I'm aware of, the best choice so far is the Config.py parser we use on Cherokee-admin:

http://svn.cherokee-project.com/browser/CTK/trunk/CTK/Config.py

--
Octality
http://www.octality.com/

Yann Malet

unread,
Dec 18, 2010, 4:52:46 PM12/18/10
to cher...@lists.octality.com
Hello,

Few months ago I started to explore the possibility to write a higher level python API : https://bitbucket.org/yml/cherokee-admin-api
I wrote a bit about this experience :

I stop this effort because I found this approach to be  fragile.

Regards,
--yml
Reply all
Reply to author
Forward
0 new messages