bundles/rspamd: fix some dependencies

This commit is contained in:
Franzi 2021-07-18 07:56:26 +02:00
parent c9a1de5a8e
commit 66fce8e076
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 10 additions and 1 deletions

View file

@ -26,6 +26,9 @@ directories = {
'owner': '_rspamd', 'owner': '_rspamd',
'group': '_rspamd', 'group': '_rspamd',
'mode': '0750', 'mode': '0750',
'needs': {
'pkg_apt:rspamd',
},
}, },
} }

View file

@ -12,7 +12,12 @@ defaults = {
'clamav': {}, 'clamav': {},
'clamav-daemon': {}, 'clamav-daemon': {},
'clamav-freshclam': {}, 'clamav-freshclam': {},
'clamav-unofficial-sigs': {}, 'clamav-unofficial-sigs': {
'needs': {
'pkg_apt:clamav',
'pkg_apt:clamav-daemon',
},
},
'rspamd': {}, 'rspamd': {},
}, },
}, },
@ -58,6 +63,7 @@ defaults = {
'tank/rspamd/rspamd': { 'tank/rspamd/rspamd': {
'mountpoint': '/var/lib/rspamd', 'mountpoint': '/var/lib/rspamd',
'needed_by': { 'needed_by': {
'directory:/var/lib/rspamd/dkim',
'pkg_apt:rspamd', 'pkg_apt:rspamd',
}, },
}, },