- From: David Cournapeau <
>
- To:
- Subject: [chef] Forcing a process environment reload during a chef run
- Date: Fri, 19 Jul 2013 13:27:21 +0100
Hi,
I am using chef to automate some tasks on windows, but I have some issues when a recipe B uses a script that depends on some registry settings setup in A.
If I only run the recipe A, and run the script manually in cmd.exe, the script sees the updated registry. If I run chef with A, and then re-run chef with B, this works as well.
I suspect this is related to A and B running within the same process tree. Is there a simple way for a recipe to 'force' an environment reload ? Rebooting between A and B would actually be acceptable in this case, but I don't know whether that's possible either.
thanks,
- [chef] Forcing a process environment reload during a chef run, David Cournapeau, 07/19/2013
Archive powered by MHonArc 2.6.16.