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:
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?
Thanks in Advance |
Archive powered by MHonArc 2.6.16.