bundles/{lldp,nfs-server,smartd}: move package dependencies to metadata
This commit is contained in:
parent
a01c28da21
commit
8434eacd94
4 changed files with 16 additions and 11 deletions
|
@ -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',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -4,10 +4,10 @@ defaults = {
|
|||
'apt': {
|
||||
'packages': {
|
||||
'nfs-server': {
|
||||
'needed_by': [
|
||||
'needed_by': {
|
||||
'svc_systemd:nfs-kernel-server',
|
||||
'action:nfs_reload_shares',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -12,9 +12,6 @@ files = {
|
|||
|
||||
svc_systemd = {
|
||||
'smartd': {
|
||||
'needs': {
|
||||
'pkg_apt:smartmontools',
|
||||
},
|
||||
'enabled': None, # FIXME this is symlinked to smartmontools.service on bullseye
|
||||
},
|
||||
}
|
||||
|
|
|
@ -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': {
|
||||
|
|
Loading…
Reference in a new issue