commit | 3ded6e48077b3f4bc44cfd04236f63c55b5a10de | [log] [tgz] |
---|---|---|
author | Vasyl Saienko <vsaienko@mirantis.com> | Tue Sep 04 18:21:37 2018 +0000 |
committer | Gerrit Code Review <gerrit2@84b5d06f6116> | Tue Sep 04 18:21:37 2018 +0000 |
tree | b6721a744ede6f6e980f4a4fe519a4be5b7be319 | |
parent | 11ef3737d2ca10ee5bedbbb716bee5360ed3087c [diff] | |
parent | 483746480ae014bc18fb826052ff224305918789 [diff] |
Merge "Set user shell even if user is system"
diff --git a/linux/system/user.sls b/linux/system/user.sls index 7ffdae6..7a0c98b 100644 --- a/linux/system/user.sls +++ b/linux/system/user.sls
@@ -43,6 +43,7 @@ {%- endif %} {%- if user.system is defined and user.system %} - system: True + - shell: {{ user.get('shell', '/bin/false') }} {%- else %} - shell: {{ user.get('shell', '/bin/bash') }} {%- endif %}