bundles/{lldp,nfs-server,smartd}: move package dependencies to metadata

This commit is contained in:
Franzi 2022-02-18 22:37:07 +01:00
parent a01c28da21
commit 8434eacd94
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 16 additions and 11 deletions

View file

@ -2,22 +2,22 @@ defaults = {
'apt': {
'packages': {
'lldpd': {
'needed_by': [
'needed_by': {
'directory:/etc/lldpd.d',
'file:/etc/lldp.conf',
'svc_systemd:lldpd',
],
},
},
},
},
'pacman': {
'packages': {
'lldpd': {
'needed_by': [
'needed_by': {
'directory:/etc/lldpd.d',
'file:/etc/lldp.conf',
'svc_systemd:lldpd',
],
},
},
},
},

View file

@ -4,10 +4,10 @@ defaults = {
'apt': {
'packages': {
'nfs-server': {
'needed_by': [
'needed_by': {
'svc_systemd:nfs-kernel-server',
'action:nfs_reload_shares',
],
},
},
},
},

View file

@ -12,9 +12,6 @@ files = {
svc_systemd = {
'smartd': {
'needs': {
'pkg_apt:smartmontools',
},
'enabled': None, # FIXME this is symlinked to smartmontools.service on bullseye
},
}

View file

@ -1,8 +1,16 @@
defaults = {
'apt': {
'packages': {
'smartmontools': {},
'nvme-cli': {},
'smartmontools': {
'needed_by': {
'svc_systemd:smartd',
},
},
'nvme-cli': {
'needed_by': {
'svc_systemd:smartd',
},
},
},
},
'icinga2_api': {