[chef] Re: Thinking of writing my own windows tomcat cookbook


Chronological Thread 
  • From: Haselwanter Edmund < >
  • To:
  • Subject: [chef] Re: Thinking of writing my own windows tomcat cookbook
  • Date: Tue, 4 Oct 2011 16:10:55 +0200


On 04.10.2011, at 15:29, Maven User wrote:

Yeah, I'm pretty sold on the databag attribute.

Running via chef-solo for testing out the cookbook means I don't have access, correct?

its *nix specific but most parts *should work*, at least the ideas


e.g. deployment is protected by:

  unless @context.deployed && @context.checksum == @new_resource.checksum

Also, the existing jpackage/tomcat/java cookbooks are *nix specific or are there neat/unique ways I could have leveraged them?

They seemed to be very *nix path/tooling centric...

On Mon, Oct 3, 2011 at 5:25 PM, Joshua Timberman < "> > wrote:
ohai!

On Oct 3, 2011, at 12:18 PM, Maven User wrote:

> Ok, now that I've worked through all of these, one question remains.
>
> If I'm using chef to deploy a war, do I need to update the cookbook every
> time the war changes?
>
> How do people typically control this kind of thing?

Either use a node attribute or read the value from a data bag.








Archive powered by MHonArc 2.6.16.

§