remove bundle:openvpn-client

This commit is contained in:
Franzi 2024-03-23 10:27:30 +01:00
parent 9b4a473236
commit 1d5bcf74c0
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 0 additions and 60 deletions

View file

@ -1,25 +0,0 @@
from os.path import join
directories = {
'/etc/openvpn/client': {
'mode': '0750',
'owner': 'openvpn',
'group': None,
'purge': True,
},
}
for fname, config in node.metadata.get('openvpn-client/configs', {}).items():
files[f'/etc/openvpn/client/{fname}.conf'] = {
'content': repo.vault.decrypt_file(join('openvpn-client', f'{fname}.conf.vault')),
'triggers': {
f'svc_systemd:openvpn-client@{config}:restart',
} if config.get('running', True) else set(),
}
svc_systemd[f'openvpn-client@{fname}'] = {
'needs': {
f'file:/etc/openvpn/client/{fname}.conf',
},
**config,
}

View file

@ -1,20 +0,0 @@
defaults = {
'apt': {
'packages': {
'openvpn': {
'needed_by': {
'directory:/etc/openvpn/client',
},
},
},
},
'pacman': {
'packages': {
'openvpn': {
'needed_by': {
'directory:/etc/openvpn/client',
},
},
},
},
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -6,7 +6,6 @@ nodes['kunsi-p14s'] = {
'lldp',
'lm-sensors',
'nfs-client',
'openvpn-client',
'systemd-boot',
'telegraf-battery-usage',
'vmhost',
@ -83,18 +82,6 @@ nodes['kunsi-p14s'] = {
'rfc1918',
},
},
'openvpn-client': {
'configs': {
'c3voc': {
'running': None,
'enabled': False,
},
'smedia-priv': {
'running': None,
'enabled': False,
},
},
},
'pacman': {
'no_extract': {
'etc/sudoers.d/ctdb', # samba junk