Bläddra i källkod

Fixing Conflicting ID

Fixing my previous change which errors in a particular scenario.

Error: Conflicting ID 'users_ssh_auth_source_username_0' when keys are added and removed simultaneously.
master
Ashok Raja R 7 år sedan
förälder
incheckning
8f4bbf58f1
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls Visa fil

@@ -280,7 +280,7 @@ users_ssh_auth_source_{{ name }}_{{ loop.index0 }}:

{% if 'ssh_auth_sources.absent' in user %}
{% for pubkey_file in user['ssh_auth_sources.absent'] %}
users_ssh_auth_source_{{ name }}_{{ loop.index0 }}:
users_ssh_auth_source_delete_{{ name }}_{{ loop.index0 }}:
ssh_auth.absent:
- user: {{ name }}
- source: {{ pubkey_file }}

Laddar…
Avbryt
Spara