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/{}.mount'.format(unitname),
|
||||||
'file:/etc/systemd/system/{}.automount'.format(unitname),
|
'file:/etc/systemd/system/{}.automount'.format(unitname),
|
||||||
'directory:{}'.format(data['mountpoint']),
|
'directory:{}'.format(data['mountpoint']),
|
||||||
|
'svc_systemd:systemd-networkd',
|
||||||
package,
|
package,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -56,6 +57,7 @@ for mount, data in node.metadata.get('nfs-client/mounts',{}).items():
|
||||||
'needs': {
|
'needs': {
|
||||||
'file:/etc/systemd/system/{}.mount'.format(unitname),
|
'file:/etc/systemd/system/{}.mount'.format(unitname),
|
||||||
'directory:{}'.format(data['mountpoint']),
|
'directory:{}'.format(data['mountpoint']),
|
||||||
|
'svc_systemd:systemd-networkd',
|
||||||
package,
|
package,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,11 @@ files = {
|
||||||
}
|
}
|
||||||
|
|
||||||
svc_systemd = {
|
svc_systemd = {
|
||||||
'systemd-networkd': {},
|
'systemd-networkd': {
|
||||||
|
'before': {
|
||||||
|
'git_deploy:',
|
||||||
|
},
|
||||||
|
},
|
||||||
'systemd-resolved': {
|
'systemd-resolved': {
|
||||||
'running': False,
|
'running': False,
|
||||||
'enabled': False,
|
'enabled': False,
|
||||||
|
|
Loading…
Reference in a new issue