[Catalyst] deployment with 3-tiered server setup: How to handle config?

Ben Vinnerd ben-catalyst at vinnerd.com
Tue Apr 21 08:33:04 GMT 2009


I have a file /etc/httpd/host.conf, which contains the line:
PerlSetEnv CATALYST_CONFIG_LOCAL_SUFFIX live/dev/whatever

This host.conf file is different on each host, and gets included from 
the main httpd.conf. ConfigLoader picks this up, and it works for me - 
only 1 file to change on each host.

Ben


Jens Schwarz wrote:
> Hi,
>
> I am planing to have a 3-tiered catalyst setup: one development server, one test server and one production server. Each of those has of course different setups (mysql-users, hostnames, apache configs, etc). How can I create a catalyst application that can cope with these different settings without having to manually alter the settings on each system? (My app is under subversion control.). Is there a 'best practice'?
>
> Thanks
>
> Jens
>   



More information about the Catalyst mailing list