Explorar el Código

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 hace 7 años
padre
commit
8f4bbf58f1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls Ver fichero

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

Cargando…
Cancelar
Guardar