10aab86051
Even if MaxRetries is 0, we should still execute the loop one time in order to run the Chef-Client at least once. Also waiting only makes sense when we have `attempts` left. And last but not least we want to exit immediately when the exit code is not in the retry list. So this PR fixes three small issues to make everything work as expected. |
||
---|---|---|
.. | ||
testdata | ||
linux_provisioner.go | ||
linux_provisioner_test.go | ||
resource_provisioner.go | ||
resource_provisioner_test.go | ||
windows_provisioner.go | ||
windows_provisioner_test.go |