bundles/matrix*: fix directories/repos
This commit is contained in:
parent
46fcd1670f
commit
905a7917f8
5 changed files with 22 additions and 10 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue