Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect casing on run_as_user cases windows_service to restart every run #8715
When using the
In our case, this meant the service was only online for 15 minutes at a time. To resolve this, we had to change the credentials to another user account, then change them back with the casing Chef expected.
Windows Server 2016
Client output cannot be included as it contains a password but was identical on each run. The windows_service resource was configured with a new username and password and then restarted.
No error is thrown.