migrate netbox from rx300 to carlene

This commit is contained in:
Franzi 2023-08-02 08:07:36 +02:00
parent a16fcdd935
commit 88ccd3ca72
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 12 additions and 6 deletions

View file

@ -73,13 +73,13 @@ actions = {
} }
files = { files = {
'/etc/systemd/system/netbox-web.service': { '/usr/local/lib/systemd/system/netbox-web.service': {
'triggers': { 'triggers': {
'action:systemd-reload', 'action:systemd-reload',
'svc_systemd:netbox-web:restart', 'svc_systemd:netbox-web:restart',
}, },
}, },
'/etc/systemd/system/netbox-worker.service': { '/usr/local/lib/systemd/system/netbox-worker.service': {
'triggers': { 'triggers': {
'action:systemd-reload', 'action:systemd-reload',
'svc_systemd:netbox-worker:restart', 'svc_systemd:netbox-worker:restart',
@ -108,7 +108,7 @@ svc_systemd = {
'needs': { 'needs': {
'action:netbox_install', 'action:netbox_install',
'action:netbox_upgrade', 'action:netbox_upgrade',
'file:/etc/systemd/system/netbox-web.service', 'file:/usr/local/lib/systemd/system/netbox-web.service',
'file:/opt/netbox/gunicorn_config.py', 'file:/opt/netbox/gunicorn_config.py',
'file:/opt/netbox/src/netbox/netbox/configuration.py', 'file:/opt/netbox/src/netbox/netbox/configuration.py',
}, },
@ -117,7 +117,7 @@ svc_systemd = {
'needs': { 'needs': {
'action:netbox_install', 'action:netbox_install',
'action:netbox_upgrade', 'action:netbox_upgrade',
'file:/etc/systemd/system/netbox-worker.service', 'file:/usr/local/lib/systemd/system/netbox-worker.service',
'file:/opt/netbox/src/netbox/netbox/configuration.py', 'file:/opt/netbox/src/netbox/netbox/configuration.py',
}, },
}, },

View file

@ -9,6 +9,7 @@ bundles = [
"matrix-synapse", "matrix-synapse",
"mautrix-telegram", "mautrix-telegram",
"mautrix-whatsapp", "mautrix-whatsapp",
"netbox",
"nodejs", "nodejs",
"redis", "redis",
"smartd", "smartd",
@ -81,6 +82,11 @@ permissions."'@kunsi:franzi.business'" = "admin"
domain = "franzi.business" domain = "franzi.business"
url = "https://matrix.franzi.business" url = "https://matrix.franzi.business"
[metadata.netbox]
domain = "netbox.franzi.business"
version = "v3.5.7"
admins.kunsi = "hostmaster@kunbox.net"
[metadata.postgresql] [metadata.postgresql]
version = 15 version = 15

View file

@ -23,7 +23,7 @@ nodes['rx300'] = {
'miniflux', 'miniflux',
'minecraft', 'minecraft',
#'mx-puppet-discord', #'mx-puppet-discord',
'netbox', #'netbox',
'nodejs', 'nodejs',
'ntfy', 'ntfy',
'oidentd', 'oidentd',
@ -337,7 +337,7 @@ nodes['rx300'] = {
'matrix-dimension': {'ssl': '_.franzi.business'}, 'matrix-dimension': {'ssl': '_.franzi.business'},
#'matrix-synapse': {'ssl': '_.franzi.business'}, #'matrix-synapse': {'ssl': '_.franzi.business'},
'miniflux': {'ssl': '_.franzi.business'}, 'miniflux': {'ssl': '_.franzi.business'},
'netbox': {'ssl': '_.franzi.business'}, #'netbox': {'ssl': '_.franzi.business'},
'ntfy': {'ssl': '_.franzi.business'}, 'ntfy': {'ssl': '_.franzi.business'},
'radicale': {'ssl': '_.franzi.business'}, 'radicale': {'ssl': '_.franzi.business'},
#'travelynx': {'ssl': '_.franzi.business'}, #'travelynx': {'ssl': '_.franzi.business'},