user_primary_group
Define the primary group of the user. User must already exist.
⚙️ Compatible targets: Linux
Parameters
| Name | Documentation | 
|---|---|
| login | User's login. This parameter is required.  | 
| primary_group | User's primary group. This parameter is required.  | 
Outcome conditions
You need to replace ${login} with its actual canonified value.
- ✅ Ok: 
user_primary_group_${login}_ok- ☑️  Already compliant: 
user_primary_group_${login}_kept - 🟨 Repaired: 
user_primary_group_${login}_repaired 
 - ☑️  Already compliant: 
 - ❌ Error: 
user_primary_group_${login}_error 
Example
method: user_primary_group
params:
  login: VALUE
  primary_group: VALUE
Documentation
This method does not create the user.