Browse Source

Fix typo in parameter name inside login.defs jinja template

This typo mistake affects behavior of user.present module function
as it uses 'useradd' linux utility under the hood.
Missing USERGROUPS_ENAB parameter == do not create user groups by default.
This change in behavior of useradd util breaks all states, which are relaying
on creation of user group during new user creation procedure, e.g. set up
cassandra backups.

Change-Id: Ie17aae58fc6673b9c5d53bb68f681446f30d0a1a
Related-bug: PROD-23741
pull/170/head
Anton Samoylov 6 years ago
parent
commit
8fd00ac717
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      linux/files/login.defs.jinja

+ 1
- 1
linux/files/login.defs.jinja View File

@@ -50,7 +50,7 @@
'UID_MIN',
'UMASK',
'USERDEL_CMD',
'USEGROUPS_ENAB'
'USERGROUPS_ENAB'
] %}
{%- for opt_name in allowed_options %}
{%- if opt_name in login_defs %}

Loading…
Cancel
Save