bundles: add dependency to systemd-networkd
This commit is contained in:
parent
ac0f849871
commit
dd5a97eced
2 changed files with 7 additions and 1 deletions
|
@ -41,6 +41,7 @@ for mount, data in node.metadata.get('nfs-client/mounts',{}).items():
|
|||
'file:/etc/systemd/system/{}.mount'.format(unitname),
|
||||
'file:/etc/systemd/system/{}.automount'.format(unitname),
|
||||
'directory:{}'.format(data['mountpoint']),
|
||||
'svc_systemd:systemd-networkd',
|
||||
package,
|
||||
},
|
||||
}
|
||||
|
@ -56,6 +57,7 @@ for mount, data in node.metadata.get('nfs-client/mounts',{}).items():
|
|||
'needs': {
|
||||
'file:/etc/systemd/system/{}.mount'.format(unitname),
|
||||
'directory:{}'.format(data['mountpoint']),
|
||||
'svc_systemd:systemd-networkd',
|
||||
package,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -9,7 +9,11 @@ files = {
|
|||
}
|
||||
|
||||
svc_systemd = {
|
||||
'systemd-networkd': {},
|
||||
'systemd-networkd': {
|
||||
'before': {
|
||||
'git_deploy:',
|
||||
},
|
||||
},
|
||||
'systemd-resolved': {
|
||||
'running': False,
|
||||
'enabled': False,
|
||||
|
|
Loading…
Reference in a new issue