Explorar el Código

remove debug print

tags/v1.0
Maximilian Eschenbacher hace 6 años
padre
commit
5ddcb79f6e
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. +0
    -1
      _states/wireguard.py

+ 0
- 1
_states/wireguard.py Ver fichero

@@ -97,7 +97,6 @@ def peer_present(name, interface, endpoint=None, persistent_keepalive=None,
if sorted(show.get('allowed ips')) != sorted(allowed_ips):
__salt__['wg.set'](interface, peer=name, allowed_ips=','.join(allowed_ips))
ret['changes']['allowed ips'] = dict(new=allowed_ips, old=show.get('allowed ips'))
print(show.get('preshared key'), preshared_key)
if preshared_key and show.get('preshared key') != preshared_key:
__salt__['wg.set'](interface, peer=name, preshared_key=preshared_key)
ret['changes']['preshared key'] = 'preshared key changed.'

Cargando…
Cancelar
Guardar