bundles/nodejs: move to own bundle
This commit is contained in:
parent
4f624df09d
commit
f3dc5c8325
4 changed files with 7 additions and 4 deletions
4
bundles/nodejs/items.py
Normal file
4
bundles/nodejs/items.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
pkg_apt = {
|
||||
'yarn': {},
|
||||
'nodejs': {},
|
||||
}
|
|
@ -1,3 +1,5 @@
|
|||
assert node.has_bundle('nodejs')
|
||||
|
||||
from json import dumps
|
||||
|
||||
riot_web_root = '/var/www/{}'.format(node.metadata['riot-web']['url'])
|
||||
|
@ -6,10 +8,6 @@ directories = {
|
|||
riot_web_root: {}
|
||||
}
|
||||
|
||||
pkg_apt = {
|
||||
'yarn': {},
|
||||
}
|
||||
|
||||
git_deploy = {
|
||||
riot_web_root: {
|
||||
'needs': {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
nodes['htz.ex42-1048908'] = {
|
||||
'bundles': [
|
||||
'nginx',
|
||||
'nodejs',
|
||||
'riot-web',
|
||||
'vmhost',
|
||||
'voc-loudness-monitor',
|
||||
|
|
Loading…
Reference in a new issue