chef Improve powershell_script performance

49 views Asked by At

Is there a way to get chef to reuse a powershell session or at least decrease the launch time of a new process? A run is spending 2 seconds performing not_if and only_if checks that use powershell (even if the PS code itself is instantaneous). It would be nice to improve this.

1

There are 1 answers

2
coderanger On

Not that I know of, what you see is what you get. If you're interested in working on it, a GitHub issue or pull request would be the right place to discuss.