Parcourir la 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 il y a 6 ans
Parent
révision
8fd00ac717
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      linux/files/login.defs.jinja

+ 1
- 1
linux/files/login.defs.jinja Voir le fichier

@@ -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 %}

Chargement…
Annuler
Enregistrer