Browse Source

remove dead code

tags/v0.9^0
Maximilian Eschenbacher 6 years ago
parent
commit
18fae9162f
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      _modules/wireguard.py

+ 0
- 6
_modules/wireguard.py View File

@@ -100,12 +100,6 @@ def remove_peer(name, peer):
'wg set %s peer %s remove' % (name, peer)
)

# def add_peer(name, public_key, allowed_ips=None):
# base = 'wg set %s peer %s' % (name, peer)
#
# return __salt__['cmd.run'](
# )

def genkey():
return __salt__['cmd.run']('wg genkey')


Loading…
Cancel
Save