You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have noticed that when puppet runs on Windows under SYSTEM, we experience delays in the DSC modules.
The analysis showed that it is due to the function [System.Environment]::SetEnvironmentVariable(). On several servers, this function takes more than 1 minute (twice per run).
Hello,
Hello everyone,
We have noticed that when puppet runs on Windows under SYSTEM, we experience delays in the DSC modules.
The analysis showed that it is due to the function [System.Environment]::SetEnvironmentVariable(). On several servers, this function takes more than 1 minute (twice per run).
This problem is related to the topic:
https://stackoverflow.com/questions/4825967/environment-setenvironmentvariable-takes-a-long-time-to-set-a-variable-at-user-o
When we switched to the Set-ItemProperty method, all DSC resources ran faster than 1 second.
Could you please switch the code to this method as well, so that the puppet runs are faster?
Regards,
Paul
The text was updated successfully, but these errors were encountered: