[chef] Windows registry key change for another user


Chronological Thread 
  • From: Eric Pardee < >
  • To:
  • Subject: [chef] Windows registry key change for another user
  • Date: Fri, 4 Jan 2013 19:11:04 -0800 (PST)

Hello

I'm using the github opscode Windows cookbook (1.3.4) with Windows
bootstrapping and I want to add a registry entry for another user.

My goal is to add a Putty ssh key for another user. I tried adding the key to
HKEY_ALL_USERS and HKEY_LOCAL_MACHINE but it doesn't work, which I learned is
on the Putty wishlist:
http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/config-locations.html

Does Chef windows_registry resource have the ability to execute the registry
key change as a different user?

I'm assuming the answer is the powershell cookbook. Does anybody have any
suggestions?

Thanks for your time.

Eric



Archive powered by MHonArc 2.6.16.

§