Hkey_users\default is the way to go if you really don't wish to give kitty a try nor willing to use windows way to achieve that.
GPO may be the way in this case, at worse use a logon script to insert the key inside the user profile and have chef manage this centraly stored script.
But relying on putty is NOT a showstopper to use kitty and its enhanced features, kitty has really no problem to be called putty and working like it as far as I know.
Regards,
Tensibai
Le 2013-01-06 01:15, Paul Morton - BIA a écrit :
Hkey_users\default is a copy of the hive that will be used for all new users. You can set it there. As long as you are using local profiles new users will inherit this base registry hive. On Jan 5, 2013, at 4:10 PM, "Eric Pardee" < "> > wrote:Thanks Paul, but my install is a bootstrap and the user I'm attempting to add the registry entry for has not logged in. On Fri, Jan 4, 2013 at 7:14 PM, Paul Morton - BIA < "> > wrote:My recollection is that the windows registry provider can do this. There is code that will load the users hive (provided they have logged in before). Take a look at hkey_users. The provider should load the hive for the relevant user if it is not currently loaded. On Jan 4, 2013, at 7:11 PM, "Eric Pardee" < "> > wrote:-- ERIC PARDEE EMERGING TECHNOLOGIES ENGINEER P: 323.878.0080 ext. 208 E: "> Corporate office: 170 S. FLOWER STREET BURBANK, CA 91502 Mailing address: P.O. BOX 4110 BURBANK, CA 91503-4110 VISIT OUR WEBSITE: www.atlasdigital.tvHello 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.