[chef] RE: Deploying Applications to Windows


Chronological Thread 
  • From: Conrad Heiney < >
  • To: " " < >
  • Subject: [chef] RE: Deploying Applications to Windows
  • Date: Tue, 11 Feb 2014 02:52:35 +0000
  • Accept-language: en-US

The Windows cookbook has an LWRP for this (windows_package) which uses registry entries to ensure idempotence. Take a peek at http://community.opscode.com/cookbooks/windows

 

From: Dan Powell [mailto:
Sent: Monday, February 10, 2014 18:02
To:
Subject: [chef] Deploying Applications to Windows

 

Hello,

I was wondering if I could get some advice on how to tackle a specific task. The task I need to perform is to take a build artifact ( a 7zip archive) and deploy it (extract and copy) to a server in an idempotent manner ie don't redeploy the application/build artifact if it already exists on the target server during a chef-client run. The target server will be a windows machine and won't have an SSH server running so I can't use the chef deploy resource (if I understand it correctly).

Has someone tackled a similar problem before, are you able to provide any advice on the best way to tackle this?

My current thinking is to bundle this into a LWRP which will compute a master checksum of all files in the artifact and then compare this with a master checksum of the files deployed to the target server.

 

Thanks in Advance

Dan




Archive powered by MHonArc 2.6.16.

§