Closed noelmcloughlin closed 5 years ago
This PR allows user.present state to change the gid auto-generated by gid_from_name parameter when the pillar data needs this.
user.present
gid
gid_from_name
Otherwise state fails when gid_from_name clashes with optional_groups pillar data for example.
optional_groups
Encountered error checking for needed changes. Additional info follows Changing gid (20 -> 507) not permitted
For implementation, users.allow_gid_change: True is global default, so Salt can cope, but parameter can be set per-user.
users.allow_gid_change: True
This PR allows
user.present
state to change thegid
auto-generated bygid_from_name
parameter when the pillar data needs this.Otherwise state fails when
gid_from_name
clashes withoptional_groups
pillar data for example.For implementation,
users.allow_gid_change: True
is global default, so Salt can cope, but parameter can be set per-user.