Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
When testing with chef 15.4.45 and running multiple converges, using the sudo resource with a Cmnd_Alias the second converge fails due to the following error:
The second converge does not fail when using chef version 15.3.14.
As far as I can tell the issue is that when concating the
Create a cookbook, add a sudo resource which creates a new sudoers entry that includes a cmnd_aliases. Run multiple converges.
I've created a basic repo where the issue can be replicated by changing the chef version in the kitchen.yml file: https://github.com/Rudikza/test-sudo.git