bundles: fix dependencies

This commit is contained in:
Franzi 2021-05-23 14:54:24 +02:00
parent 8dc66421c0
commit 46f7aa93ef
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 13 additions and 16 deletions

View file

@ -26,7 +26,16 @@ pkg_apt = {
'netcat': {},
'python3': {},
'python3-dev': {},
'python3-pip': {},
'python3-setuptools': {
'needed_by': {
'pkg_pip:',
},
},
'python3-pip': {
'needed_by': {
'pkg_pip:',
},
},
'python3-virtualenv': {},
'rsync': {},
'tar': {},

View file

@ -11,24 +11,11 @@ files = {
if node.metadata.get('systemd-networkd/enable-resolved', False):
symlinks['/etc/resolv.conf'] = {
'target': '/run/systemd/resolve/stub-resolv.conf',
'needed_by': {
'pkg_apt:',
'pkg_pacman:',
},
}
svc_systemd['systemd-resolved'] = {
'needed_by': {
'pkg_apt:',
'pkg_pacman:',
},
}
svc_systemd['systemd-resolved'] = {}
else:
files['/etc/resolv.conf'] = {
'content_type': 'mako',
'needed_by': {
'pkg_apt:',
'pkg_pacman:',
},
}

View file

@ -64,5 +64,6 @@ nodes['voc.pretalx'] = {
},
},
'os': 'debian',
'os_version': (10,)
'os_version': (10,),
'pip_command': 'pip3',
}