bundles/matrix*: fix directories/repos

This commit is contained in:
Franzi 2021-07-23 07:58:15 +02:00
parent 46fcd1670f
commit 905a7917f8
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 22 additions and 10 deletions

View file

@ -1,6 +1,11 @@
repo.libs.tools.require_bundle(node, 'nodejs')
directories = {
'/opt/mx-puppet-discord': {},
'/opt/mx-puppet-discord/.npm': {
'owner': 'mx-puppet-discord',
'group': 'mx-puppet-discord',
},
'/opt/mx-puppet-discord/src': {
'owner': 'mx-puppet-discord',
'group': 'mx-puppet-discord',
@ -54,8 +59,11 @@ git_deploy = {
actions = {
'mx-puppet-discord_chown': {
'command': 'chown -R mx-puppet-discord:mx-puppet-discord /opt/mx-puppet-discord/src',
'command':
'chown -R mx-puppet-discord:mx-puppet-discord /opt/mx-puppet-discord/src && '
'chown -R mx-puppet-discord:mx-puppet-discord /opt/mx-puppet-discord/.npm',
'needs': {
'directory:/opt/mx-puppet-discord/.npm',
'user:mx-puppet-discord',
},
'triggered': True,