Reading the chef documentation at https://docs.chef.io/resource_user.html i see written in the “:create” action description that “If a user already exists (but does not match), update that user to match”.
So I expect that if I have an already existing user “johndoe” with the “/bin/bash” shell and I :create an user named “johndoe” with the “/bin/false” shell chef will update that user changing the shell to “/bin/false” but this does not happen.
Is there something wrong in my expectation?
Thank You
Regards
M.