wip
This commit is contained in:
parent
40a2353bed
commit
344c23d3e0
3 changed files with 15 additions and 3 deletions
|
@ -38,3 +38,10 @@ for name, config in node.metadata.get('left4dead2/servers').items():
|
||||||
f'file:/usr/local/lib/systemd/system/left4dead2-{name}.service',
|
f'file:/usr/local/lib/systemd/system/left4dead2-{name}.service',
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for id in node.metadata.get('left4dead2/workshop'):
|
||||||
|
files[f'/opt/steam/left4dead2/left4dead2/addons/{id}.vpk'] = {
|
||||||
|
'content_type': 'any',
|
||||||
|
'owner': 'steam',
|
||||||
|
'group': 'steam',
|
||||||
|
}
|
||||||
|
|
7
groups/applications/left4dead2.py
Normal file
7
groups/applications/left4dead2.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
'bundles': [
|
||||||
|
'steam',
|
||||||
|
'steam-workshop-download',
|
||||||
|
'left4dead2',
|
||||||
|
],
|
||||||
|
}
|
|
@ -7,6 +7,7 @@
|
||||||
'monitored',
|
'monitored',
|
||||||
'webserver',
|
'webserver',
|
||||||
'dnsserver',
|
'dnsserver',
|
||||||
|
'left4dead2',
|
||||||
],
|
],
|
||||||
'bundles': [
|
'bundles': [
|
||||||
'bind-acme',
|
'bind-acme',
|
||||||
|
@ -16,9 +17,6 @@
|
||||||
'zfs',
|
'zfs',
|
||||||
'lonercrew',
|
'lonercrew',
|
||||||
'build-ci',
|
'build-ci',
|
||||||
'steam',
|
|
||||||
'steam-workshop-download',
|
|
||||||
'left4dead2',
|
|
||||||
],
|
],
|
||||||
'metadata': {
|
'metadata': {
|
||||||
'id': 'ea29bdf0-0b47-4bf4-8346-67d60c9dc4ae',
|
'id': 'ea29bdf0-0b47-4bf4-8346-67d60c9dc4ae',
|
||||||
|
|
Loading…
Reference in a new issue