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
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.