[chef] Re: Re: Deploying tomcat webapps


Chronological Thread 
  • From: Edward Sargisson < >
  • To:
  • Subject: [chef] Re: Re: Deploying tomcat webapps
  • Date: Thu, 23 Aug 2012 09:11:00 -0700

I build with ant and leave the artifacts in S3. I then load the url (which I calculate with the correct signature) and the hash into a databag and the (older) application cookbook deploys it for me. I then have chef write a new properties file out from a template to customise for the environment. This goes into the classes dir (although, as I've now learnt, it should go elsewhere).

Works nicely for me.

Cheers,
Edward

On Thu, Aug 23, 2012 at 8:57 AM, Nacer Laradji < " target="_blank"> > wrote:
Hi,

Personally i put a exploded .war directory in my git repo, and a use the git ressource to checkout this in my webapps folder.

See ya !


Le 23 août 2012 à 16:42, Steffen Gebert < " target="_blank"> > a écrit :

Hi,

although Andrea Campi helped me debugging the application_java cookbook, I'm not sure, whether this is the way to go.

May I ask you, how you deploy your tomcat webapps (as .war files or building (with ant?) on the server)?

Could you give me a cookbook as example?

Thanks
Steffen






Archive powered by MHonArc 2.6.16.

§