[chef] Thinking of writing my own windows tomcat cookbook

Chronological Thread 
  • From: Maven User < >
  • To: chef < >
  • Subject: [chef] Thinking of writing my own windows tomcat cookbook
  • Date: Fri, 30 Sep 2011 10:25:56 -0400

Hi all -

I'm starting to drink more kool-aid but don't want to reinvent the wheel.

We have a several war projects we want to deploy to a windows server running tomcat.

So the order of operation is:

1 - Install Tomcat if it's not there
2 - it it was there shut it down
3 - archive previous wars
4 - put in new war
5 - tweak any configuration I need to (some may be INSIDE the war)
6 - start up tomcat

So far, I haven't seen a tomcat for windows cookbook.  Is it bad to include the binary of tomcat I want to install as part of the cookbook?  What about our wars, do they need to be in a cookbook which has recipes specific to our needs?

This feels kinda clunky (most likely because of my understanding of things, not chefs fault).

One final passing thought - there seem to be several ways to split up the dev/qa/stage/prod type configurations.  I can have an environments databag for dev/qa and an encrypted databag for stage/production.  But also, I could segregate via environments.  Either way, for sure, we'll have sensitive passwords that need to be obfuscated.

What do people typically do?

  • [chef] Thinking of writing my own windows tomcat cookbook, Maven User, 09/30/2011

Archive powered by MHonArc 2.6.16.