When using user.present state, optional groups can be defined or not using optional_groups option.
If not defined, optional_groups is set to "None" but the state tries to add the user to the groups "N" "o" "n" "e".
This is a bug, because if you use one-letter-named groups ('N', 'o', 'n', 'e'), the salt created user will belong to those even if you don't want it.
When using
user.presentstate, optional groups can be defined or not usingoptional_groupsoption.If not defined,
optional_groupsis set to "None" but the state tries to add the user to the groups "N" "o" "n" "e".This is a bug, because if you use one-letter-named groups ('N', 'o', 'n', 'e'), the salt created user will belong to those even if you don't want it.