commit | 15e10dd7cf4fbda35547dcf8bbbd0a7eddc9cfd9 | [log] [tgz] |
---|---|---|
author | Ondrej Smola <smolaon@gmail.com> | Thu Apr 19 12:59:10 2018 +0200 |
committer | Ondrej Smola <smolaon@gmail.com> | Thu Apr 19 12:59:10 2018 +0200 |
tree | bc7fa30d2695e49a6829e90da4bfd2beb8277d28 | |
parent | bb0708ddf313402732938c19e98fa57235ff3fa8 [diff] |
change gid_from_name to false to user present saltstack 2017.7 is failing to create user when default group for user is not present, commit which changes this behavior from 2016.3 is https://github.com/saltstack/salt/commit/a18dbe0c11198143f248f7cb6c1d94e736e6301c Change-Id: I478d632e8aa7303ab2ee32b033478148c18c473d
diff --git a/linux/system/user.sls b/linux/system/user.sls index 5e37b5d..4d76454 100644 --- a/linux/system/user.sls +++ b/linux/system/user.sls
@@ -29,7 +29,7 @@ - password: {{ user.password }} - hash_password: {{ user.get('hash_password', False) }} {% endif %} - - gid_from_name: true + - gid_from_name: false {%- if user.groups is defined %} - groups: {{ user.groups }} {%- endif %}