Compare commits
4 commits
7aaa47ccb2
...
944c116839
Author | SHA1 | Date | |
---|---|---|---|
|
944c116839 | ||
|
1ac8a53a9a | ||
|
e2f36c483b | ||
|
666329eca6 |
63 changed files with 726 additions and 1128 deletions
|
@ -27,10 +27,6 @@ actions = {
|
||||||
'triggered': True,
|
'triggered': True,
|
||||||
'cascade_skip': False,
|
'cascade_skip': False,
|
||||||
},
|
},
|
||||||
'apt_execute_update_commands': {
|
|
||||||
'command': ' && '.join(sorted(node.metadata.get('apt/additional_update_commands', {'true'}))),
|
|
||||||
'triggered': True,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
files = {
|
files = {
|
||||||
|
|
|
@ -62,13 +62,10 @@ trap "on_exit" EXIT
|
||||||
|
|
||||||
# redirect stdout and stderr to logfile
|
# redirect stdout and stderr to logfile
|
||||||
prepare_and_cleanup_logdir
|
prepare_and_cleanup_logdir
|
||||||
if [[ -z "$DEBUG" ]]
|
|
||||||
then
|
|
||||||
logfile="$logdir/backup--$(date '+%F--%H-%M-%S')--$$.log.gz"
|
logfile="$logdir/backup--$(date '+%F--%H-%M-%S')--$$.log.gz"
|
||||||
echo "All log output will go to $logfile" | logger -it backup-client
|
echo "All log output will go to $logfile" | logger -it backup-client
|
||||||
exec > >(gzip >"$logfile")
|
exec > >(gzip >"$logfile")
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
fi
|
|
||||||
|
|
||||||
# this is where the real work starts
|
# this is where the real work starts
|
||||||
ts_begin=$(date +%s)
|
ts_begin=$(date +%s)
|
||||||
|
|
|
@ -33,7 +33,7 @@ actions = {
|
||||||
'yarn build',
|
'yarn build',
|
||||||
]),
|
]),
|
||||||
'needs': {
|
'needs': {
|
||||||
'action:apt_execute_update_commands',
|
'action:nodejs_install_yarn',
|
||||||
'pkg_apt:nodejs',
|
'pkg_apt:nodejs',
|
||||||
},
|
},
|
||||||
'triggered': True,
|
'triggered': True,
|
||||||
|
|
|
@ -11,26 +11,6 @@ defaults = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@metadata_reactor.provides(
|
|
||||||
'nodejs/version',
|
|
||||||
)
|
|
||||||
def nodejs(metadata):
|
|
||||||
version = tuple([int(i) for i in metadata.get('element-web/version')[1:].split('.')])
|
|
||||||
|
|
||||||
if version >= (1, 11, 71):
|
|
||||||
return {
|
|
||||||
'nodejs': {
|
|
||||||
'version': 20,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
else:
|
|
||||||
return {
|
|
||||||
'nodejs': {
|
|
||||||
'version': 18,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@metadata_reactor.provides(
|
@metadata_reactor.provides(
|
||||||
'nginx/vhosts/element-web',
|
'nginx/vhosts/element-web',
|
||||||
)
|
)
|
||||||
|
|
|
@ -43,7 +43,6 @@ def nginx(metadata):
|
||||||
'locations': {
|
'locations': {
|
||||||
'/': {
|
'/': {
|
||||||
'target': 'http://127.0.0.1:21010',
|
'target': 'http://127.0.0.1:21010',
|
||||||
'websockets': True,
|
|
||||||
},
|
},
|
||||||
'/api/ds/query': {
|
'/api/ds/query': {
|
||||||
'target': 'http://127.0.0.1:21010',
|
'target': 'http://127.0.0.1:21010',
|
||||||
|
|
|
@ -7,7 +7,6 @@ else:
|
||||||
users = {
|
users = {
|
||||||
'homeassistant': {
|
'homeassistant': {
|
||||||
'home': '/var/opt/homeassistant',
|
'home': '/var/opt/homeassistant',
|
||||||
"groups": ["dialout"],
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,132 +0,0 @@
|
||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
import re
|
|
||||||
from hashlib import md5
|
|
||||||
from sys import argv, exit
|
|
||||||
|
|
||||||
# Supress SSL certificate warnings for ssl_verify=False
|
|
||||||
import urllib3
|
|
||||||
from lxml import html
|
|
||||||
from requests import Session
|
|
||||||
|
|
||||||
USERNAME_FIELD = "g2"
|
|
||||||
PASSWORD_FIELD = "g3"
|
|
||||||
CRSF_FIELD = "password"
|
|
||||||
|
|
||||||
STATUS_OK = 0
|
|
||||||
STATUS_WARNING = 1
|
|
||||||
STATUS_CRITICAL = 2
|
|
||||||
STATUS_UNKNOWN = 3
|
|
||||||
|
|
||||||
|
|
||||||
class OMMCrawler:
|
|
||||||
def __init__(self, hostname, username, password):
|
|
||||||
self.session = Session()
|
|
||||||
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
|
||||||
self.session.verify = False
|
|
||||||
|
|
||||||
self.url = f"https://{hostname}"
|
|
||||||
self.login_data = {
|
|
||||||
USERNAME_FIELD: username,
|
|
||||||
PASSWORD_FIELD: password,
|
|
||||||
CRSF_FIELD: md5(password.encode()).hexdigest(),
|
|
||||||
}
|
|
||||||
self.logged_in = False
|
|
||||||
|
|
||||||
def login(self):
|
|
||||||
# if we have multiple dect masters, find out which one is the current master
|
|
||||||
current_master_url = self.session.get(self.url, verify=False).url
|
|
||||||
self.hostname = re.search(r"^(.*[\\\/])", current_master_url).group(0)[:-1]
|
|
||||||
|
|
||||||
response = self.session.post(f"{self.url}/login_set.html", data=self.login_data)
|
|
||||||
response.raise_for_status()
|
|
||||||
|
|
||||||
# set cookie
|
|
||||||
pass_value = re.search(r"(?<=pass=)\d+(?=;)", response.text).group(0)
|
|
||||||
self.session.cookies.set("pass", pass_value)
|
|
||||||
self.logged_in = True
|
|
||||||
|
|
||||||
def get_station_status(self):
|
|
||||||
if not self.logged_in:
|
|
||||||
self.login()
|
|
||||||
|
|
||||||
data = {}
|
|
||||||
response = self.session.get(f"{self.url}/fp_pnp_status.html")
|
|
||||||
response.raise_for_status()
|
|
||||||
tree = html.fromstring(response.text)
|
|
||||||
xpath_results = tree.xpath('//tr[@class="l0" or @class="l1"]')
|
|
||||||
|
|
||||||
for result in xpath_results:
|
|
||||||
bubble_is_in_inactive_cluster = False
|
|
||||||
bubble_is_connected = False
|
|
||||||
bubble_is_active = False
|
|
||||||
|
|
||||||
bubble_name = result.xpath("td[4]/text()")[0]
|
|
||||||
try:
|
|
||||||
bubble_is_connected = result.xpath("td[11]/img/@alt")[0] == "yes"
|
|
||||||
|
|
||||||
if bubble_is_connected:
|
|
||||||
try:
|
|
||||||
bubble_is_active = result.xpath("td[12]/img/@alt")[0] == "yes"
|
|
||||||
except IndexError:
|
|
||||||
# If an IndexError occurs, there is no image in the
|
|
||||||
# 12th td. This means this bubble is in the not inside
|
|
||||||
# an active DECT cluster, but is a backup bubble.
|
|
||||||
# This is probably fine.
|
|
||||||
bubble_is_active = False
|
|
||||||
bubble_is_in_inactive_cluster = True
|
|
||||||
else:
|
|
||||||
bubble_is_active = False
|
|
||||||
except:
|
|
||||||
# There is no Image in the 11th td. This usually means there
|
|
||||||
# is a warning message in the 10th td. We do not care about
|
|
||||||
# that, currently.
|
|
||||||
pass
|
|
||||||
|
|
||||||
data[bubble_name] = {
|
|
||||||
"is_connected": bubble_is_connected,
|
|
||||||
"is_active": bubble_is_active,
|
|
||||||
"is_in_inactive_cluster": bubble_is_in_inactive_cluster,
|
|
||||||
}
|
|
||||||
return data
|
|
||||||
|
|
||||||
def handle_station_data(self):
|
|
||||||
try:
|
|
||||||
data = self.get_station_status()
|
|
||||||
except Exception as e:
|
|
||||||
print(f"Something went wrong. You should take a look at {self.url}")
|
|
||||||
print(repr(e))
|
|
||||||
exit(STATUS_UNKNOWN)
|
|
||||||
|
|
||||||
critical = False
|
|
||||||
for name, status in data.items():
|
|
||||||
if not status["is_active"] and not status["is_connected"]:
|
|
||||||
print(
|
|
||||||
f"Base station {name} is not active or connected! Check manually!"
|
|
||||||
)
|
|
||||||
critical = True
|
|
||||||
elif not status["is_active"] and not status["is_in_inactive_cluster"]:
|
|
||||||
# Bubble is part of an active DECT cluster, but not active.
|
|
||||||
# This shouldn't happen.
|
|
||||||
print(
|
|
||||||
f"Base station {name} is not active but connected! Check manually!"
|
|
||||||
)
|
|
||||||
critical = True
|
|
||||||
elif not status["is_connected"]:
|
|
||||||
# This should never happen. Seeing this state means OMM
|
|
||||||
# itself is broken.
|
|
||||||
print(
|
|
||||||
f"Base station {name} is not connected but active! Check manually!"
|
|
||||||
)
|
|
||||||
critical = True
|
|
||||||
|
|
||||||
if critical:
|
|
||||||
exit(STATUS_CRITICAL)
|
|
||||||
else:
|
|
||||||
print(f"OK - {len(data)} base stations connected")
|
|
||||||
exit(STATUS_OK)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
omm = OMMCrawler(argv[1], argv[2], argv[3])
|
|
||||||
omm.handle_station_data()
|
|
|
@ -63,7 +63,7 @@ def firewall(metadata):
|
||||||
return {
|
return {
|
||||||
'firewall': {
|
'firewall': {
|
||||||
'port_rules': {
|
'port_rules': {
|
||||||
'8096/tcp': atomic(metadata.get('jellyfin/restrict-to', set())),
|
'8096/tcp': atomic(metadata.get('jellyfin/restrict-to', {'*'})),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,6 @@ repo:
|
||||||
bindAddress: '${node.metadata.get('matrix-media-repo/listen-addr', '127.0.0.1')}'
|
bindAddress: '${node.metadata.get('matrix-media-repo/listen-addr', '127.0.0.1')}'
|
||||||
port: ${node.metadata.get('matrix-media-repo/port', 20090)}
|
port: ${node.metadata.get('matrix-media-repo/port', 20090)}
|
||||||
logDirectory: '-'
|
logDirectory: '-'
|
||||||
logColors: false
|
|
||||||
jsonLogs: false
|
|
||||||
logLevel: 'info'
|
|
||||||
trustAnyForwardedAddress: false
|
trustAnyForwardedAddress: false
|
||||||
useForwardedHost: true
|
useForwardedHost: true
|
||||||
|
|
||||||
|
@ -25,9 +22,6 @@ homeservers:
|
||||||
csApi: "${config['domain']}"
|
csApi: "${config['domain']}"
|
||||||
backoffAt: ${config.get('backoff_at', 10)}
|
backoffAt: ${config.get('backoff_at', 10)}
|
||||||
adminApiKind: "${config.get('api', 'matrix')}"
|
adminApiKind: "${config.get('api', 'matrix')}"
|
||||||
% if config.get('signing_key_path'):
|
|
||||||
signingKeyPath: "${config['signing_key_path']}"
|
|
||||||
% endif
|
|
||||||
% endfor
|
% endfor
|
||||||
|
|
||||||
accessTokens:
|
accessTokens:
|
||||||
|
@ -59,9 +53,7 @@ archiving:
|
||||||
uploads:
|
uploads:
|
||||||
maxBytes: ${node.metadata.get('matrix-media-repo/upload_max_mb')*1024*1024}
|
maxBytes: ${node.metadata.get('matrix-media-repo/upload_max_mb')*1024*1024}
|
||||||
minBytes: 100
|
minBytes: 100
|
||||||
#reportedMaxBytes: 0
|
reportedMaxBytes: 0
|
||||||
maxPending: 5
|
|
||||||
maxAgeSeconds: 1800
|
|
||||||
quotas:
|
quotas:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
@ -69,6 +61,14 @@ downloads:
|
||||||
maxBytes: ${node.metadata.get('matrix-media-repo/download_max_mb')*1024*1024}
|
maxBytes: ${node.metadata.get('matrix-media-repo/download_max_mb')*1024*1024}
|
||||||
numWorkers: ${node.metadata.get('matrix-media-repo/workers')}
|
numWorkers: ${node.metadata.get('matrix-media-repo/workers')}
|
||||||
failureCacheMinutes: 5
|
failureCacheMinutes: 5
|
||||||
|
cache:
|
||||||
|
enabled: true
|
||||||
|
maxSizeBytes: ${node.metadata.get('matrix-media-repo/download_max_mb')*10*1024*1024}
|
||||||
|
maxFileSizeBytes: ${node.metadata.get('matrix-media-repo/download_max_mb')*1024*1024}
|
||||||
|
trackedMinutes: 30
|
||||||
|
minDownloads: 5
|
||||||
|
minCacheTimeSeconds: 300
|
||||||
|
minEvictedTimeSeconds: 60
|
||||||
expireAfterDays: 0
|
expireAfterDays: 0
|
||||||
|
|
||||||
urlPreviews:
|
urlPreviews:
|
||||||
|
|
|
@ -19,6 +19,9 @@ files = {
|
||||||
'/opt/matrix-media-repo/config.yaml': {
|
'/opt/matrix-media-repo/config.yaml': {
|
||||||
'owner': 'matrix-media-repo',
|
'owner': 'matrix-media-repo',
|
||||||
'content_type': 'mako',
|
'content_type': 'mako',
|
||||||
|
'triggers': {
|
||||||
|
'svc_systemd:matrix-media-repo:restart',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'/etc/systemd/system/matrix-media-repo.service': {
|
'/etc/systemd/system/matrix-media-repo.service': {
|
||||||
'triggers': {
|
'triggers': {
|
||||||
|
|
|
@ -144,8 +144,7 @@ def nginx(metadata):
|
||||||
}
|
}
|
||||||
|
|
||||||
if node.has_bundle('matrix-media-repo'):
|
if node.has_bundle('matrix-media-repo'):
|
||||||
for path in ('/_matrix/media', '/_matrix/client/v1/media', '/_matrix/federation/v1/media'):
|
locations['/_matrix/media'] = {
|
||||||
locations[path] = {
|
|
||||||
'target': 'http://localhost:20090',
|
'target': 'http://localhost:20090',
|
||||||
'max_body_size': '{}M'.format(metadata.get('matrix-media-repo/upload_max_mb')),
|
'max_body_size': '{}M'.format(metadata.get('matrix-media-repo/upload_max_mb')),
|
||||||
# matrix-media-repo needs this to be the
|
# matrix-media-repo needs this to be the
|
||||||
|
|
|
@ -1,15 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
OPTS="--netrc"
|
OPTS=""
|
||||||
OPTS="$OPTS --netrc-location /opt/mixcloud-downloader/netrc"
|
|
||||||
OPTS="$OPTS --retry-sleep linear=1::2"
|
|
||||||
OPTS="$OPTS --retry-sleep fragment:exp=1:60"
|
|
||||||
OPTS="$OPTS --extractor-retries 5"
|
|
||||||
if [[ -n "$DEBUG" ]]
|
if [[ -n "$DEBUG" ]]
|
||||||
then
|
then
|
||||||
set -x
|
set -x
|
||||||
else
|
else
|
||||||
OPTS="$OPTS -q"
|
OPTS="-q"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
% for domain, data in sorted(node.metadata.get('mixcloud-downloader/netrc', {}).items()):
|
|
||||||
machine ${domain} login ${data['username']} password ${data['password']}
|
|
||||||
% endfor
|
|
|
@ -6,9 +6,3 @@ files['/opt/mixcloud-downloader/download.sh'] = {
|
||||||
directories['/opt/mixcloud-downloader'] = {
|
directories['/opt/mixcloud-downloader'] = {
|
||||||
'owner': 'kunsi',
|
'owner': 'kunsi',
|
||||||
}
|
}
|
||||||
|
|
||||||
files['/opt/mixcloud-downloader/netrc'] = {
|
|
||||||
'content_type': 'mako',
|
|
||||||
'mode': '0400',
|
|
||||||
'owner': 'kunsi',
|
|
||||||
}
|
|
||||||
|
|
|
@ -201,8 +201,6 @@ server {
|
||||||
fastcgi_hide_header X-XSS-Protection;
|
fastcgi_hide_header X-XSS-Protection;
|
||||||
% endif
|
% endif
|
||||||
fastcgi_hide_header Permissions-Policy;
|
fastcgi_hide_header Permissions-Policy;
|
||||||
fastcgi_request_buffering off;
|
|
||||||
proxy_buffering off;
|
|
||||||
}
|
}
|
||||||
% if not max_body_size:
|
% if not max_body_size:
|
||||||
client_max_body_size 5M;
|
client_max_body_size 5M;
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
actions = {
|
||||||
|
'nodejs_install_yarn': {
|
||||||
|
'command': 'npm install -g yarn@latest',
|
||||||
|
'unless': 'test -e /usr/lib/node_modules/yarn',
|
||||||
|
'after': {
|
||||||
|
'pkg_apt:',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
|
@ -1,41 +1,54 @@
|
||||||
defaults = {
|
defaults = {
|
||||||
'apt': {
|
'apt': {
|
||||||
'additional_update_commands': {
|
'additional_update_commands': {
|
||||||
# update npm and yarn to latest version
|
# update npm to latest version
|
||||||
'npm install -g npm@latest',
|
|
||||||
'npm install -g yarn@latest',
|
'npm install -g yarn@latest',
|
||||||
},
|
},
|
||||||
'packages': {
|
'packages': {
|
||||||
|
'nodejs': {},
|
||||||
|
},
|
||||||
|
},
|
||||||
'nodejs': {
|
'nodejs': {
|
||||||
'triggers': {
|
'version': 18,
|
||||||
'action:apt_execute_update_commands',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'npm': {
|
|
||||||
'installed': False,
|
|
||||||
'triggers': {
|
|
||||||
'action:apt_execute_update_commands',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VERSIONS_SHIPPED_BY_DEBIAN = {
|
||||||
|
10: 10,
|
||||||
|
11: 12,
|
||||||
|
12: 18,
|
||||||
|
13: 18,
|
||||||
|
}
|
||||||
|
|
||||||
@metadata_reactor.provides(
|
@metadata_reactor.provides(
|
||||||
'apt/repos/nodejs/items',
|
'apt/repos/nodejs/items',
|
||||||
|
'apt/additional_update_commands',
|
||||||
)
|
)
|
||||||
def nodejs_from_version(metadata):
|
def nodejs_from_version(metadata):
|
||||||
version = metadata.get('nodejs/version')
|
version = metadata.get('nodejs/version')
|
||||||
|
|
||||||
|
if version != VERSIONS_SHIPPED_BY_DEBIAN[node.os_version[0]]:
|
||||||
return {
|
return {
|
||||||
'apt': {
|
'apt': {
|
||||||
|
'additional_update_commands': {
|
||||||
|
# update npm to latest version
|
||||||
|
'npm install -g npm@latest',
|
||||||
|
},
|
||||||
'repos': {
|
'repos': {
|
||||||
'nodejs': {
|
'nodejs': {
|
||||||
'items': {
|
'items': {
|
||||||
f'deb https://deb.nodesource.com/node_{version}.x nodistro main',
|
f'deb https://deb.nodesource.com/node_{version}.x {{os_release}} main',
|
||||||
f'deb-src https://deb.nodesource.com/node_{version}.x nodistro main',
|
f'deb-src https://deb.nodesource.com/node_{version}.x {{os_release}} main',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
else:
|
||||||
|
return {
|
||||||
|
'apt': {
|
||||||
|
'packages': {
|
||||||
|
'npm': {},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
|
@ -33,9 +33,6 @@ defaults = {
|
||||||
'/mnt/paperless',
|
'/mnt/paperless',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'nodejs': {
|
|
||||||
'version': 18,
|
|
||||||
},
|
|
||||||
'postgresql': {
|
'postgresql': {
|
||||||
'roles': {
|
'roles': {
|
||||||
'paperless': {
|
'paperless': {
|
||||||
|
|
|
@ -57,7 +57,7 @@ smtpd_tls_auth_only = yes
|
||||||
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
|
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
|
||||||
smtpd_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
|
smtpd_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
|
||||||
smtpd_tls_mandatory_ciphers = medium
|
smtpd_tls_mandatory_ciphers = medium
|
||||||
smtpd_tls_dh1024_param_file = /etc/ssl/certs/dhparam.pem
|
smtpd_tls_dh1024_param_file = /etc/ssl/certs/dhparam.pem;
|
||||||
tls_medium_cipherlist = ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305
|
tls_medium_cipherlist = ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305
|
||||||
tls_preempt_cipherlist = no
|
tls_preempt_cipherlist = no
|
||||||
</%text>
|
</%text>
|
||||||
|
|
|
@ -65,7 +65,7 @@ svc_systemd = {
|
||||||
actions = {
|
actions = {
|
||||||
'powerdns_reload_zones': {
|
'powerdns_reload_zones': {
|
||||||
'triggered': True,
|
'triggered': True,
|
||||||
'command': r'pdns_control rediscover; pdns_control reload; pdns_control notify \*',
|
'command': 'pdns_control rediscover; pdns_control reload; pdns_control notify \*',
|
||||||
'after': {
|
'after': {
|
||||||
'svc_systemd:pdns',
|
'svc_systemd:pdns',
|
||||||
},
|
},
|
||||||
|
@ -160,7 +160,7 @@ if node.metadata.get('powerdns/features/pgsql', node.has_bundle('postgresql')):
|
||||||
|
|
||||||
actions['powerdns_load_pgsql_schema'] = {
|
actions['powerdns_load_pgsql_schema'] = {
|
||||||
'command': node.metadata.get('postgresql/roles/powerdns/password').format_into('PGPASSWORD={} psql -h 127.0.0.1 -d powerdns -U powerdns -w < /usr/share/pdns-backend-pgsql/schema/schema.pgsql.sql'),
|
'command': node.metadata.get('postgresql/roles/powerdns/password').format_into('PGPASSWORD={} psql -h 127.0.0.1 -d powerdns -U powerdns -w < /usr/share/pdns-backend-pgsql/schema/schema.pgsql.sql'),
|
||||||
'unless': r'sudo -u postgres psql -d powerdns -c "\dt" | grep domains 2>&1 >/dev/null',
|
'unless': 'sudo -u postgres psql -d powerdns -c "\dt" | grep domains 2>&1 >/dev/null',
|
||||||
'needs': {
|
'needs': {
|
||||||
'bundle:postgresql',
|
'bundle:postgresql',
|
||||||
'pkg_apt:pdns-backend-pgsql',
|
'pkg_apt:pdns-backend-pgsql',
|
||||||
|
|
|
@ -13,9 +13,6 @@ defaults = {
|
||||||
'python3-wheel': {},
|
'python3-wheel': {},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'nodejs': {
|
|
||||||
'version': 18,
|
|
||||||
},
|
|
||||||
'users': {
|
'users': {
|
||||||
'powerdnsadmin': {
|
'powerdnsadmin': {
|
||||||
'home': '/opt/powerdnsadmin',
|
'home': '/opt/powerdnsadmin',
|
||||||
|
|
|
@ -26,9 +26,6 @@ defaults = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'nodejs': {
|
|
||||||
'version': 18,
|
|
||||||
},
|
|
||||||
'pretalx': {
|
'pretalx': {
|
||||||
'database': {
|
'database': {
|
||||||
'user': 'pretalx',
|
'user': 'pretalx',
|
||||||
|
|
|
@ -2,8 +2,31 @@ import re
|
||||||
from json import load
|
from json import load
|
||||||
from os.path import join
|
from os.path import join
|
||||||
|
|
||||||
|
defaults = {
|
||||||
|
'icinga2_api': {
|
||||||
|
'routeros': {
|
||||||
|
'services': {
|
||||||
|
'TEMPERATURE': {
|
||||||
|
'check_command': 'snmp',
|
||||||
|
'vars.snmp_oid': '1.3.6.1.4.1.14988.1.1.3.11.0',
|
||||||
|
'vars.snmp_version': '2c',
|
||||||
|
'vars.snmp_community': 'public',
|
||||||
|
'vars.warn': '@750:799', # 1/10 °C
|
||||||
|
'vars.crit': '@800:9999',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
with open(join(repo.path, 'configs', 'netbox', f'{node.name}.json')) as f:
|
|
||||||
|
@metadata_reactor.provides(
|
||||||
|
'routeros/ips',
|
||||||
|
'routeros/ports',
|
||||||
|
'routeros/vlans',
|
||||||
|
)
|
||||||
|
def get_ports_from_netbox_dump(metadata):
|
||||||
|
with open(join(repo.path, 'configs', f'netbox_device_{node.name}.json')) as f:
|
||||||
netbox = load(f)
|
netbox = load(f)
|
||||||
|
|
||||||
ips = {}
|
ips = {}
|
||||||
|
@ -22,7 +45,7 @@ for port, conf in netbox['interfaces'].items():
|
||||||
for ip in conf['ips']:
|
for ip in conf['ips']:
|
||||||
ips[ip] = {'interface': port}
|
ips[ip] = {'interface': port}
|
||||||
|
|
||||||
if conf['type'].lower() == 'virtual':
|
if conf['type'] == 'VIRTUAL':
|
||||||
# these are VLAN interfaces (for management IPs)
|
# these are VLAN interfaces (for management IPs)
|
||||||
if conf['ips']:
|
if conf['ips']:
|
||||||
# this makes management services available in the VLAN
|
# this makes management services available in the VLAN
|
||||||
|
@ -54,8 +77,6 @@ for port, conf in netbox['interfaces'].items():
|
||||||
if conf.get('ips', []):
|
if conf.get('ips', []):
|
||||||
ports[port]['ips'] = set(conf['ips'])
|
ports[port]['ips'] = set(conf['ips'])
|
||||||
if conf['type'] in (
|
if conf['type'] in (
|
||||||
'1000base-t',
|
|
||||||
'10gbase-x-sfpp',
|
|
||||||
'A_1000BASE_T',
|
'A_1000BASE_T',
|
||||||
'A_10GBASE_X_SFPP',
|
'A_10GBASE_X_SFPP',
|
||||||
):
|
):
|
||||||
|
@ -69,7 +90,7 @@ for port, conf in netbox['interfaces'].items():
|
||||||
|
|
||||||
# tagged
|
# tagged
|
||||||
|
|
||||||
if conf['mode'] in ('TAGGED_ALL', 'tagged-all'):
|
if conf['mode'] == 'TAGGED_ALL':
|
||||||
tagged = set(vlans.keys()) - {conf['untagged_vlan']}
|
tagged = set(vlans.keys()) - {conf['untagged_vlan']}
|
||||||
else:
|
else:
|
||||||
tagged = conf['tagged_vlans']
|
tagged = conf['tagged_vlans']
|
||||||
|
@ -81,26 +102,12 @@ for port, conf in netbox['interfaces'].items():
|
||||||
if conf['ips']:
|
if conf['ips']:
|
||||||
vlans[vlan]['tagged'].add('bridge')
|
vlans[vlan]['tagged'].add('bridge')
|
||||||
|
|
||||||
defaults = {
|
return {
|
||||||
'icinga2_api': {
|
|
||||||
'routeros': {
|
|
||||||
'services': {
|
|
||||||
'TEMPERATURE': {
|
|
||||||
'check_command': 'snmp',
|
|
||||||
'vars.snmp_oid': '1.3.6.1.4.1.14988.1.1.3.11.0',
|
|
||||||
'vars.snmp_version': '2c',
|
|
||||||
'vars.snmp_community': 'public',
|
|
||||||
'vars.warn': '@750:799', # 1/10 °C
|
|
||||||
'vars.crit': '@800:9999',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'routeros': {
|
'routeros': {
|
||||||
'ips': ips,
|
'ips': ips,
|
||||||
'ports': ports,
|
'ports': ports,
|
||||||
'vlans': vlans,
|
'vlans': vlans,
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -19,9 +19,7 @@ crit_days=30
|
||||||
case "$issuer_hash" in
|
case "$issuer_hash" in
|
||||||
# 4f06f81d: issuer=C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
|
# 4f06f81d: issuer=C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
|
||||||
# 8d33f237: issuer=C = US, O = Let's Encrypt, CN = R3
|
# 8d33f237: issuer=C = US, O = Let's Encrypt, CN = R3
|
||||||
# 462422cf: issuer=C = US, O = Let's Encrypt, CN = E5
|
4f06f81d|8d33f237)
|
||||||
# 9aad238c: issuer=C = US, O = Let's Encrypt, CN = E6
|
|
||||||
4f06f81d|8d33f237|462422cf|9aad238c)
|
|
||||||
warn_days=10
|
warn_days=10
|
||||||
crit_days=3
|
crit_days=3
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -4,225 +4,225 @@
|
||||||
"description": "home.router (enp1s0)",
|
"description": "home.router (enp1s0)",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "tagged-all",
|
"mode": "TAGGED_ALL",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": null
|
"untagged_vlan": null
|
||||||
},
|
},
|
||||||
"ether10": {
|
"ether10": {
|
||||||
"description": "home.mitel-rfp35 (LAN)",
|
"description": "home.mitel-rfp35 (LAN)",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether11": {
|
"ether11": {
|
||||||
"description": "home.usv01 (LAN)",
|
"description": "home.usv01 (LAN)",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether12": {
|
"ether12": {
|
||||||
"description": "",
|
"description": "home.rechenmonster (IPMI)",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether13": {
|
"ether13": {
|
||||||
"description": "",
|
"description": "",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether14": {
|
"ether14": {
|
||||||
"description": "",
|
"description": "home.rechenmonster (LAN)",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether15": {
|
"ether15": {
|
||||||
"description": "",
|
"description": "",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether16": {
|
"ether16": {
|
||||||
"description": "",
|
"description": "",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether17": {
|
"ether17": {
|
||||||
"description": "",
|
"description": "",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether18": {
|
"ether18": {
|
||||||
"description": "",
|
"description": "",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether19": {
|
"ether19": {
|
||||||
"description": "home.lgtv-wohnzimmer",
|
"description": "home.lgtv-wohnzimmer",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether2": {
|
"ether2": {
|
||||||
"description": "Fritz!Box (LAN1)",
|
"description": "Fritz!Box (LAN1)",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.wan"
|
"untagged_vlan": "home.wan"
|
||||||
},
|
},
|
||||||
"ether20": {
|
"ether20": {
|
||||||
"description": "Franzi Laptop",
|
"description": "Franzi Laptop",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether21": {
|
"ether21": {
|
||||||
"description": "",
|
"description": "Sophie Laptop",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether22": {
|
"ether22": {
|
||||||
"description": "Arbeitsplatz Regal",
|
"description": "Sophie Desktop",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether23": {
|
"ether23": {
|
||||||
"description": "Wohnzimmer Kabel",
|
"description": "Wohnzimmer Kabel",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether24": {
|
"ether24": {
|
||||||
"description": "home.snom-wohnzimmer",
|
"description": "home.snom-wohnzimmer",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether3": {
|
"ether3": {
|
||||||
"description": "home.aruba325-schlafzimmer",
|
"description": "home.aruba325-schlafzimmer",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "tagged",
|
"mode": "TAGGED",
|
||||||
"tagged_vlans": [
|
"tagged_vlans": [
|
||||||
"ffwi.client",
|
"ffwi.client",
|
||||||
"home.v6only"
|
"home.v6only"
|
||||||
],
|
],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether4": {
|
"ether4": {
|
||||||
"description": "home.aruba325-wohnzimmer",
|
"description": "home.aruba325-wohnzimmer",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "tagged",
|
"mode": "TAGGED",
|
||||||
"tagged_vlans": [
|
"tagged_vlans": [
|
||||||
"ffwi.client",
|
"ffwi.client",
|
||||||
"home.v6only"
|
"home.v6only"
|
||||||
],
|
],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether5": {
|
"ether5": {
|
||||||
"description": "home.nas (eno1)",
|
"description": "home.nas (eno1)",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "tagged-all",
|
"mode": "TAGGED_ALL",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": null
|
"untagged_vlan": null
|
||||||
},
|
},
|
||||||
"ether6": {
|
"ether6": {
|
||||||
"description": "home.aruba325-office",
|
"description": "home.aruba325-office",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "tagged",
|
"mode": "TAGGED",
|
||||||
"tagged_vlans": [
|
"tagged_vlans": [
|
||||||
"ffwi.client",
|
"ffwi.client",
|
||||||
"home.v6only"
|
"home.v6only"
|
||||||
],
|
],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether7": {
|
"ether7": {
|
||||||
"description": "RIPE-Probe #28280 (LAN)",
|
"description": "RIPE-Probe #28280 (LAN)",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.dmz"
|
"untagged_vlan": "home.dmz"
|
||||||
},
|
},
|
||||||
"ether8": {
|
"ether8": {
|
||||||
"description": "home.drucker-franzi",
|
"description": "home.drucker-sophie",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"ether9": {
|
"ether9": {
|
||||||
"description": "info-beamer 12199 (LAN)",
|
"description": "info-beamer 12199 (LAN)",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "access",
|
"mode": "ACCESS",
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "1000base-t",
|
"type": "A_1000BASE_T",
|
||||||
"untagged_vlan": "home.clients"
|
"untagged_vlan": "home.clients"
|
||||||
},
|
},
|
||||||
"home.clients": {
|
"home.clients": {
|
||||||
|
@ -231,27 +231,27 @@
|
||||||
"ips": [
|
"ips": [
|
||||||
"172.19.138.4/24"
|
"172.19.138.4/24"
|
||||||
],
|
],
|
||||||
"mode": "",
|
"mode": null,
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "virtual",
|
"type": "VIRTUAL",
|
||||||
"untagged_vlan": null
|
"untagged_vlan": null
|
||||||
},
|
},
|
||||||
"sfp-sfpplus1": {
|
"sfp-sfpplus1": {
|
||||||
"description": "",
|
"description": "",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "",
|
"mode": null,
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "10gbase-x-sfpp",
|
"type": "A_10GBASE_X_SFPP",
|
||||||
"untagged_vlan": null
|
"untagged_vlan": null
|
||||||
},
|
},
|
||||||
"sfp-sfpplus2": {
|
"sfp-sfpplus2": {
|
||||||
"description": "",
|
"description": "",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ips": [],
|
"ips": [],
|
||||||
"mode": "",
|
"mode": null,
|
||||||
"tagged_vlans": [],
|
"tagged_vlans": [],
|
||||||
"type": "10gbase-x-sfpp",
|
"type": "A_10GBASE_X_SFPP",
|
||||||
"untagged_vlan": null
|
"untagged_vlan": null
|
||||||
}
|
}
|
||||||
},
|
},
|
|
@ -1,66 +1,5 @@
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||||
mQINBGZXLBYBEACxv3nUIdUtFCpH1G4hBB+eVSsWwnHVTDtSYfINHmN8dQfyGy22
|
|
||||||
XcX2DR6ZW9/I5e06McAz4e3hTuhD5+sF7zv4Dd/xEqxpra08liVvB3QlJ6kawBJa
|
|
||||||
Bn29s/N/A06yUrOVC1ZjhpDLshaHeyHjWDVLUX9ibLx1N3BQoeoH/5lgTmfF4JPk
|
|
||||||
LfnTMwHWQ5phT52MVE+B/XExldIPAn27m2ZfXHXnSUMKCRybQNypBiIp6OBfirwa
|
|
||||||
pyjaRO1AajwalSkbSV9o/fL3liluv1HimQ11/5y0rxMdi+aaeca9oA4Gvfdh/biO
|
|
||||||
MYcTeiZx72BKqDwMfJVXSjQ8XOYbfCjWp8dNkS5Yd4bmX+ITXRkZHqQxgmoKWr7B
|
|
||||||
9/i+asColt/qqsQ6PROa2y86TbQSfn/HM8L6c85BkJrI41abJ2QHShVzpk0e/464
|
|
||||||
hqxvnAZCrmdM+GBSuYfDDqHHHgxhIzHnKnyRX/MtfhZA/CUFUOe+m6j214KKtkMQ
|
|
||||||
6EpZzgH52FFD6Vi1NkQvfYx5pqEdmJfRKR9ABf8fYI8U8ryNgIq7f13bwoX4haZy
|
|
||||||
ql/fC4lTG6OEpp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
|
||||||
ZQCPAa5w0Gutz91cE9nv03yg3FMcjlEgklQ77g/nGGFJnQHAeMhfgUUfPLx1rI9/
|
|
||||||
5NON5w7Wf3PXOlTYWO25ieUVKESu8dUCFktKRMnzauej2vjnQlMFG0upzw8dhytn
|
|
||||||
E83WanvRzVynanK38PCNYQ3INsydN3wvJNetHpBdpyPfOa61dOUtu1TBvV80qcBR
|
|
||||||
wIe6vbWZx0WB59b3KV8Sc68j8OJxF6i3E0IRby4f0hcoqogBkry0NPK/rtL2HHnN
|
|
||||||
vcV0wl+DODz9hw==
|
|
||||||
=oWlI
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mQENBE5OMmIBCAD+FPYKGriGGf7NqwKfWC83cBV01gabgVWQmZbMcFzeW+hMsgxH
|
mQENBE5OMmIBCAD+FPYKGriGGf7NqwKfWC83cBV01gabgVWQmZbMcFzeW+hMsgxH
|
||||||
W6iimD0RsfZ9oEbfJCPG0CRSZ7ppq5pKamYs2+EJ8Q2ysOFHHwpGrA2C8zyNAs4I
|
W6iimD0RsfZ9oEbfJCPG0CRSZ7ppq5pKamYs2+EJ8Q2ysOFHHwpGrA2C8zyNAs4I
|
||||||
|
@ -68,125 +7,22 @@ QxnZZIbETgcSwFtDun0XiqPwPZgyuXVm9PAbLZRbfBzm8wR/3SWygqZBBLdQk5TE
|
||||||
fDR+Eny/M1RVR4xClECONF9UBB2ejFdI1LD45APbP2hsN/piFByU1t7yK2gpFyRt
|
fDR+Eny/M1RVR4xClECONF9UBB2ejFdI1LD45APbP2hsN/piFByU1t7yK2gpFyRt
|
||||||
97WzGHn9MV5/TL7AmRPM4pcr3JacmtCnxXeCZ8nLqedoSuHFuhwyDnlAbu8I16O5
|
97WzGHn9MV5/TL7AmRPM4pcr3JacmtCnxXeCZ8nLqedoSuHFuhwyDnlAbu8I16O5
|
||||||
XRrfzhrHRJFM1JnIiGmzZi6zB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9yNdOZmnk2Prj7+mBuchbT3BJOQ==
|
|
||||||
=AgHy
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mQINBGZXO1wBEADEm061e/MGo2f7rpSqokI59in/egWbeQE26vwxB7vPu4e7j+cU
|
|
||||||
Vg3AezwCbf3nVRAE9DpJ+yuB0KVkM/0QszjOEEBuehZYJrUiwMyiY6jAk8xtqjpV
|
|
||||||
PsOMyZrypoJhwzg/sYNadUPw4UoHJ/xq4wNA2ZG9Xf0l8M3shYJPmKWLz/eefa5V
|
|
||||||
Ef/toQ7a55l0aJ7XyACTU6dv4bkHHqomDImK2C94s+KyCxaFyz6NgFz25V/j66Am
|
|
||||||
gB1m6UGGsvP4qYXW+KTsLz9XDvJeLLHWNcqQoyUO5Vs5C3hGozL7kEkyK/1qHcou
|
|
||||||
XXkeGN365z93ZeK+VdBZKJtsCswPk2wdDBByU9lAUNHYcLHf6S8fwCACeIqJ6LaY
|
|
||||||
MKmZUN2gR/boTyMERHEA8XnWXTDp7EsSNIc+LkU5AT8yesANcczH5k/XOI4hltJC
|
|
||||||
piEsSgg9V7FvO4eA2iQWGv/Y4nlUfw3lbRuRFvd7oqVQKlX4iIs++kVCCegBvtNA
|
|
||||||
1naxPbvTqrC4THvBSSZpOW/y/6XibAr/scCNNW1mEhwm5SPBHq9Sv35p6xKDTcgQ
|
|
||||||
8o3KLM8tKKt6kokAqlrXk9Nq6LYrZKwg5a9crFF7nCL2xgxZy1OJQVcPuhhZy5WT
|
|
||||||
WReE5RJdlF5VGRT9nMJ3B4Vlp5luQnMUFYXTAKQd6Cogbb99J4MjDttAlwARAQAB
|
|
||||||
tCtuZ2lueCBzaWduaW5nIGtleSA8c2lnbmluZy1rZXktM0BuZ2lueC5jb20+iQIi
|
|
||||||
BBMBCgAWBQJmVztcCRC83NijjYiiswIbAwIZAQAA9FMQAJ/e8F1egZGbRIV6qU/Q
|
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bBPV2fIx60W2haVMUVX6CrxAeq44F
|
|
||||||
UYda9m8fOnaIew==
|
|
||||||
=TEOn
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
-----END PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
|
@ -1,29 +1,52 @@
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
Version: GnuPG v1
|
||||||
|
Comment: GPGTools - https://gpgtools.org
|
||||||
|
|
||||||
mQENBFdDN1ABCADaNd/I3j3tn40deQNgz7hB2NvT+syXe6k4ZmdiEcOfBvFrkS8B
|
mQINBFObJLYBEADkFW8HMjsoYRJQ4nCYC/6Eh0yLWHWfCh+/9ZSIj4w/pOe2V6V+
|
||||||
hNS67t93etHsxEy7E0qwsZH32bKazMqe9zDwoa3aVImryjh6SHC9lMtW27JPHFeM
|
W6DHY3kK3a+2bxrax9EqKe7uxkSKf95gfns+I9+R+RJfRpb1qvljURr54y35IZgs
|
||||||
Srkt9YmH1WMwWcRO6eSY9B3PpazquhnvbammLuUojXRIxkDroy6Fw4UKmUNSRr32
|
fMG22Np+TmM2RLgdFCZa18h0+RbH9i0b+ZrB9XPZmLb/h9ou7SowGqQ3wwOtT3Vy
|
||||||
9Ej87jRoR1B2/57Kfp2Y4+vFGGzSvh3AFQpBHq51qsNHALU6+8PjLfIt+5TPvaWR
|
qmif0A2GCcjFTqWW6TXaY8eZJ9BCEqW3k/0Cjw7K/mSy/utxYiUIvZNKgaG/P8U7
|
||||||
TB+kAZnQZkaIQM2nr1n3oj6ak2RATY/+kjLizgFWzgEfbCrbsyq68UoY5FPBnu4Z
|
89QyvxeRxAf93YFAVzMXhoKxu12IuH4VnSwAfb8gQyxKRyiGOUwk0YoBPpqRnMmD
|
||||||
E3iDZpaIqwKr0seUC7iA1xM5eHi5kty1oB7HABEBAAG0Ik5Tb2xpZCA8bnNvbGlk
|
Dl7SdmY3oQHEJzBelTMjTM8AjbB9mW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WJxHpX795zn+iCwyvZSlLfH9mlegOeVmj9cyhN/VOmS3
|
||||||
|
QRhlYXoA2z7WZTNoC6iAIlyIpMTcZr+ntaGVtFOLS6fwdBqDXjmSQu66mDKwU5Ek
|
||||||
|
fNlbyrpzZMyFCDWEYo4AIR/18aGZBYUAEQEAAYkCHwQYAQIACQUCU5sktgIbDAAK
|
||||||
|
CRAWVaCraFdigIPQEACcYh8rR19wMZZ/hgYv5so6Y1HcJNARuzmffQKozS/rxqec
|
||||||
|
0xM3wceL1AIMuGhlXFeGd0wRv/RVzeZjnTGwhN1DnCDy1I66hUTgehONsfVanuP1
|
||||||
|
PZKoL38EAxsMzdYgkYH6T9a4wJH/IPt+uuFTFFy3o8TKMvKaJk98+Jsp2X/QuNxh
|
||||||
|
qpcIGaVbtQ1bn7m+k5Qe/fz+bFuUeXPivafLLlGc6KbdgMvSW9EVMO7yBy/2JE15
|
||||||
|
ZJgl7lXKLQ31VQPAHT3an5IV2C/ie12eEqZWlnCiHV/wT+zhOkSpWdrheWfBT+ac
|
||||||
|
hR4jDH80AS3F8jo3byQATJb3RoCYUCVc3u1ouhNZa5yLgYZ/iZkpk5gKjxHPudFb
|
||||||
|
DdWjbGflN9k17VCf4Z9yAb9QMqHzHwIGXrb7ryFcuROMCLLVUp07PrTrRxnO9A/4
|
||||||
|
xxECi0l/BzNxeU1gK88hEaNjIfviPR/h6Gq6KOcNKZ8rVFdwFpjbvwHMQBWhrqfu
|
||||||
|
G3KaePvbnObKHXpfIKoAM7X2qfO+IFnLGTPyhFTcrl6vZBTMZTfZiC1XDQLuGUnd
|
||||||
|
sckuXINIU3DFWzZGr0QrqkuE/jyr7FXeUJj9B7cLo+s/TXo+RaVfi3kOc9BoxIvy
|
||||||
|
/qiNGs/TKy2/Ujqp/affmIMoMXSozKmga81JSwkADO1JMgUy6dApXz9kP4EE3g==
|
||||||
|
=CLGF
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
-----END PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
|
@ -8,13 +8,3 @@ location /.well-known/matrix/server {
|
||||||
default_type application/json;
|
default_type application/json;
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /.well-known/webfinger {
|
|
||||||
return 302 'https://chaos.social/.well-known/webfinger?resource=acct:sophie@chaos.social';
|
|
||||||
}
|
|
||||||
|
|
||||||
location /social {
|
|
||||||
return 200 '<!doctype html><html><body><a rel="me" href="https://chaos.social/@sophie">Mastodon</a></body></html>';
|
|
||||||
default_type text/html;
|
|
||||||
add_header Access-Control-Allow-Origin *;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,22 +1,26 @@
|
||||||
-----BEGIN CERTIFICATE-----
|
-----BEGIN CERTIFICATE-----
|
||||||
MIIDsDCCAzWgAwIBAgISBMRgrLMPa1cucom1daU3fmCaMAoGCCqGSM49BAMDMDIx
|
MIIETzCCAzegAwIBAgISBGnv4i5cZkqMTZ6E2W9oY145MA0GCSqGSIb3DQEBCwUA
|
||||||
CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJF
|
MDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQD
|
||||||
NTAeFw0yNDA2MTExNDQyMzdaFw0yNDA5MDkxNDQyMzZaMBoxGDAWBgNVBAMTD2hv
|
EwJSMzAeFw0yNDAzMTYwOTAxNDdaFw0yNDA2MTQwOTAxNDZaMBoxGDAWBgNVBAMT
|
||||||
bWUua3VuYm94Lm5ldDB2MBAGByqGSM49AgEGBSuBBAAiA2IABGlCPITmq729xoLb
|
D2hvbWUua3VuYm94Lm5ldDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNjknNF3eIBR
|
||||||
DkSn6SYxnP7Mns9dBSqUv1WktnYjwbavlbXKN3Bz0yCGcXSCZA+Nq576DBK9L9X6
|
7bzqJEfvTTmGnw9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Alc1W4u+bDkHjj+OrvNYaHsQLjxedt++jN3o4at
|
||||||
|
bkOY3zEQyg5mspykq7DjxNpPIC9mSeH6dKZAzsOc6KRWVj91Ol68GYM35TWXUp+3
|
||||||
|
kYkU828fznJQc77u9BysTGlyc4iYLzzb0Xus6McqOVPDVnNbeLxdHCQfF8A9Hh6F
|
||||||
|
o4UX
|
||||||
-----END CERTIFICATE-----
|
-----END CERTIFICATE-----
|
||||||
|
|
|
@ -1,27 +1,31 @@
|
||||||
|
|
||||||
-----BEGIN CERTIFICATE-----
|
-----BEGIN CERTIFICATE-----
|
||||||
MIIEVzCCAj+gAwIBAgIRAIOPbGPOsTmMYgZigxXJ/d4wDQYJKoZIhvcNAQELBQAw
|
MIIFFjCCAv6gAwIBAgIRAJErCErPDBinU/bWLiWnX1owDQYJKoZIhvcNAQELBQAw
|
||||||
TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh
|
TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh
|
||||||
cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjQwMzEzMDAwMDAw
|
cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjAwOTA0MDAwMDAw
|
||||||
WhcNMjcwMzEyMjM1OTU5WjAyMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNTGV0J3Mg
|
WhcNMjUwOTE1MTYwMDAwWjAyMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNTGV0J3Mg
|
||||||
RW5jcnlwdDELMAkGA1UEAxMCRTUwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQNCzqK
|
RW5jcnlwdDELMAkGA1UEAxMCUjMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK
|
||||||
a2GOtu/cX1jnxkJFVKtj9mZhSAouWXW0gQI3ULc/FnncmO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UOXoRgffuDghje1WrG9ML+Hbisq/yFOGwXD9RiX8F6sw6W4
|
||||||
GWiWaeOyB7RP+OfDtvi2OsapxXiV7vNVs7fMlrRjY1joKaqmmycnBvAq14AEbtyL
|
avAuvDszue5L3sz85K+EC4Y/wFVDNvZo4TYXao6Z0f+lQKc0t8DQYzk1OXVu8rp2
|
||||||
sVfOS66B8apkeFX2NY4XPEYV4ZSCe8VHPrdrERk2wILG3T/EGmSIkCYVUMSnjmJd
|
yJMC6alLbBfODALZvYH7n7do1AZls4I9d1P4jnkDrQoxB3UqQ9hVl3LEKQ73xF1O
|
||||||
VQD9F6Na/+zmXCc=
|
yK5GhDDX8oVfGKF5u+decIsH4YaTw7mP3GFxJSqv3+0lUFJoi5Lc5da149p90Ids
|
||||||
|
hCExroL1+7mryIkXPeFM5TgO9r0rvZaBFOvV2z0gp35Z0+L4WPlbuEjN/lxPFin+
|
||||||
|
HlUjr8gRsI3qfJOQFy/9rKIJR0Y/8Omwt/8oTWgy1mdeHmmjk7j1nYsvC9JSQ6Zv
|
||||||
|
MldlTTKB3zhThV1+XWYp6rjd5JW1zbVWEkLNxE7GJThEUG3szgBVGP7pSWTUTsqX
|
||||||
|
nLRbwHOoq7hHwg==
|
||||||
-----END CERTIFICATE-----
|
-----END CERTIFICATE-----
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
encrypt$gAAAAABmaHBwHXKZDN_8bEa47lNIX25-wvvW1RcC689Hod4HAsY2tT6fd9k7zdnbK8KWedRNopdRIlhQUkU0xBVh5J5maiYfn5R8Kp_VpkXiWY0LVY3XMWjB4oHmU29VEbl490oesAhUUH6hb7lwfvsbV4WTM_7aL0_sPfF1udxO89gg-9z2nbl-7zmTdSBY651fZQngd4SlwK17N1fedkHgYamGLdgE10oPZiRsOJKrUGv-Pxi4ICQ7J_AF6bO05PyZkeNqqUP19g2f5EsKNnT0bxQHCP5sbofvYzli-fU2bW-leuvm-VU8lV27t39lQZyF-WcWnB7626w0semrg7cCJ4qoHJVek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5jTSbST1modE-1u_Wis-Km-jcMwkiViZpK-HC6Ce_TNdt1NDarBat6nRhTrpqHXENlroVixHmGl1_-Y6mc75tJ-KHQKRRzwK8V_X62iA3vfSz1Xps8B1FZqxJWA2EdM0JkQecCuC-bnpedEoumYnif3vLhe91NV8SQ5FBlkd3NFT8vBAWCgnqT_jDf5YQW70w==
|
|
|
@ -60,20 +60,6 @@ groups['home'] = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
groups['sophie'] = {
|
|
||||||
'member_patterns': {
|
|
||||||
r"sophie\..*",
|
|
||||||
},
|
|
||||||
'metadata': {
|
|
||||||
'icinga_options': {
|
|
||||||
'exclude_from_monitoring': True,
|
|
||||||
},
|
|
||||||
'users': {
|
|
||||||
'sophie': {},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
groups['voc'] = {
|
groups['voc'] = {
|
||||||
'member_patterns': {
|
'member_patterns': {
|
||||||
r"voc\..*",
|
r"voc\..*",
|
||||||
|
|
|
@ -40,7 +40,7 @@ imap_pass = "!bwpass_attr:t-online.de/franzi.kunsmann@t-online.de:imap"
|
||||||
|
|
||||||
[metadata.element-web]
|
[metadata.element-web]
|
||||||
url = "chat.franzi.business"
|
url = "chat.franzi.business"
|
||||||
version = "v1.11.71"
|
version = "v1.11.66"
|
||||||
[metadata.element-web.config]
|
[metadata.element-web.config]
|
||||||
default_server_config.'m.homeserver'.base_url = "https://matrix.franzi.business"
|
default_server_config.'m.homeserver'.base_url = "https://matrix.franzi.business"
|
||||||
default_server_config.'m.homeserver'.server_name = "franzi.business"
|
default_server_config.'m.homeserver'.server_name = "franzi.business"
|
||||||
|
@ -49,8 +49,8 @@ defaultCountryCode = "DE"
|
||||||
jitsi.preferredDomain = "meet.ffmuc.net"
|
jitsi.preferredDomain = "meet.ffmuc.net"
|
||||||
|
|
||||||
[metadata.forgejo]
|
[metadata.forgejo]
|
||||||
version = "7.0.5"
|
version = "7.0.2"
|
||||||
sha1 = "8dc0526cdd886d5bc96ce96841202c2800029e68"
|
sha1 = "8d8f463b875a114012d688b413b11501aaba2eee"
|
||||||
domain = "git.franzi.business"
|
domain = "git.franzi.business"
|
||||||
enable_git_hooks = true
|
enable_git_hooks = true
|
||||||
install_ssh_key = true
|
install_ssh_key = true
|
||||||
|
@ -70,13 +70,12 @@ gateway6 = "2a0a:51c0:0:225::1"
|
||||||
[metadata.matrix-media-repo]
|
[metadata.matrix-media-repo]
|
||||||
admins = ["@kunsi:franzi.business"]
|
admins = ["@kunsi:franzi.business"]
|
||||||
datastore_id = "3fff5da324ed784c771d638bb6be5917"
|
datastore_id = "3fff5da324ed784c771d638bb6be5917"
|
||||||
sha1 = "ef9e8624e70714e4d421ece0c27f2974f55c0e59"
|
sha1 = "55d353b472894547c61b11567089eb2cf40ce5ba"
|
||||||
upload_max_mb = 500
|
upload_max_mb = 500
|
||||||
version = "v1.3.6"
|
version = "v1.3.4"
|
||||||
[metadata.matrix-media-repo.homeservers.'franzi.business']
|
[metadata.matrix-media-repo.homeservers.'franzi.business']
|
||||||
api = "synapse"
|
api = "synapse"
|
||||||
domain = "http://[::1]:20080/"
|
domain = "http://[::1]:20080/"
|
||||||
signing_key_path = "/etc/matrix-synapse/mmr.signing.key"
|
|
||||||
|
|
||||||
[metadata.matrix-stickerpicker]
|
[metadata.matrix-stickerpicker]
|
||||||
# use this bot token: encrypt$gAAAAABfVK51ErJ6gfsOOkbRxSHDnVYmf7EihAQf7Uwj9og3TlAw64WRsA6ZVEgTSvOdLB3SMKZ-cTEhwkCOpbymq-_WLhes-hZALhN-H_oXHaxTQErJ0lARynKmjM-4ZhoGlUWlfh4Q
|
# use this bot token: encrypt$gAAAAABfVK51ErJ6gfsOOkbRxSHDnVYmf7EihAQf7Uwj9og3TlAw64WRsA6ZVEgTSvOdLB3SMKZ-cTEhwkCOpbymq-_WLhes-hZALhN-H_oXHaxTQErJ0lARynKmjM-4ZhoGlUWlfh4Q
|
||||||
|
@ -99,7 +98,7 @@ sha1 = "cecb371ff5f1dd528cfc490484a0967dcc28cd82"
|
||||||
secret = "!decrypt:encrypt$gAAAAABl9yJlbEZafJ2mumtg03rW0-440NIgFcgdWGMo3Axrypugwctacy9Cq7MYtCBGjnDyNvVLI5B2QMJ9ssCD46NCsFRN3-X4u9rDtxPhRZV7rls_LQ_Csc_GsffJfvpmHbn_wsljd3I74h4ouWlYhhEQUIKwb3eErSZ_VTZhu_bC4jTa0FY="
|
secret = "!decrypt:encrypt$gAAAAABl9yJlbEZafJ2mumtg03rW0-440NIgFcgdWGMo3Axrypugwctacy9Cq7MYtCBGjnDyNvVLI5B2QMJ9ssCD46NCsFRN3-X4u9rDtxPhRZV7rls_LQ_Csc_GsffJfvpmHbn_wsljd3I74h4ouWlYhhEQUIKwb3eErSZ_VTZhu_bC4jTa0FY="
|
||||||
|
|
||||||
[metadata.mautrix-telegram]
|
[metadata.mautrix-telegram]
|
||||||
version = "v0.15.2"
|
version = "v0.15.1"
|
||||||
homeserver.domain = "franzi.business"
|
homeserver.domain = "franzi.business"
|
||||||
homeserver.url = "https://matrix.franzi.business"
|
homeserver.url = "https://matrix.franzi.business"
|
||||||
telegram.api_id = "!decrypt:encrypt$gAAAAABfVK5SmDDru-UQxitkE5VhPArnUBhaRbAqQPvAW2Fh3fd1XDrWxa3Qn4BSnJAPNWglH5wil_SXUMcIm95FMhPe8dVeMQ=="
|
telegram.api_id = "!decrypt:encrypt$gAAAAABfVK5SmDDru-UQxitkE5VhPArnUBhaRbAqQPvAW2Fh3fd1XDrWxa3Qn4BSnJAPNWglH5wil_SXUMcIm95FMhPe8dVeMQ=="
|
||||||
|
@ -114,8 +113,8 @@ provisioning.shared_secret = "!decrypt:encrypt$gAAAAABfVKflEMAi07C_QGP8cy97hF-4g
|
||||||
"'@kunsi:franzi.business'" = "admin"
|
"'@kunsi:franzi.business'" = "admin"
|
||||||
|
|
||||||
[metadata.mautrix-whatsapp]
|
[metadata.mautrix-whatsapp]
|
||||||
version = "v0.10.9"
|
version = "v0.10.7"
|
||||||
sha1 = "1619579ec6b9fca84fec085a94842d309d3f730c"
|
sha1 = "7ebfadc247c3fb4c6c9503f7c48234fcc976cadf"
|
||||||
permissions."'@kunsi:franzi.business'" = "admin"
|
permissions."'@kunsi:franzi.business'" = "admin"
|
||||||
[metadata.mautrix-whatsapp.homeserver]
|
[metadata.mautrix-whatsapp.homeserver]
|
||||||
domain = "franzi.business"
|
domain = "franzi.business"
|
||||||
|
@ -126,7 +125,7 @@ domain = "rss.franzi.business"
|
||||||
|
|
||||||
[metadata.netbox]
|
[metadata.netbox]
|
||||||
domain = "netbox.franzi.business"
|
domain = "netbox.franzi.business"
|
||||||
version = "v4.0.7"
|
version = "v4.0.1"
|
||||||
admins.kunsi = "hostmaster@kunbox.net"
|
admins.kunsi = "hostmaster@kunbox.net"
|
||||||
|
|
||||||
[metadata.nextcloud]
|
[metadata.nextcloud]
|
||||||
|
@ -256,7 +255,7 @@ disks = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[metadata.travelynx]
|
[metadata.travelynx]
|
||||||
version = "2.7.7"
|
version = "2.6.9"
|
||||||
mail_from = "travelynx@franzi.business"
|
mail_from = "travelynx@franzi.business"
|
||||||
domain = "travelynx.franzi.business"
|
domain = "travelynx.franzi.business"
|
||||||
|
|
||||||
|
|
34
nodes/entropia-jira.toml
Normal file
34
nodes/entropia-jira.toml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
hostname = "45.140.180.45"
|
||||||
|
dummy = true
|
||||||
|
|
||||||
|
[metadata.icinga_options]
|
||||||
|
period = "daytime"
|
||||||
|
show_on_statuspage = false
|
||||||
|
|
||||||
|
[metadata.icinga2_api.nginx.services."NGINX VHOST ticket-redirect CERTIFICATE"]
|
||||||
|
check_command = "check_https_cert_at_url"
|
||||||
|
"vars.domain" = "ticket.gulas.ch"
|
||||||
|
"vars.notification.mail" = true
|
||||||
|
|
||||||
|
[metadata.icinga2_api.nginx.services."NGINX VHOST jira CERTIFICATE"]
|
||||||
|
check_command = "check_https_cert_at_url"
|
||||||
|
"vars.domain" = "jira.gulas.ch"
|
||||||
|
"vars.notification.mail" = true
|
||||||
|
|
||||||
|
[metadata.icinga2_api.nginx.services."NGINX VHOST jira CONTENT"]
|
||||||
|
check_command = "check_http_wget"
|
||||||
|
"vars.http_wget_contains" = "login.jsp"
|
||||||
|
"vars.http_wget_url" = "https://jira.gulas.ch/secure/Dashboard.jspa"
|
||||||
|
"vars.notification.sms" = true
|
||||||
|
|
||||||
|
[metadata.icinga2_api.custom.services]
|
||||||
|
# these checks do not get deployed onto the actual host by us, we only
|
||||||
|
# execute those checks
|
||||||
|
'DISK SPACE'.'vars.sshmon_command' = 'DISK_SPACE'
|
||||||
|
'JIRA HEAP'.'vars.sshmon_command' = 'JIRA_HEAP'
|
||||||
|
'JIRA THREADS'.'vars.sshmon_command' = 'JIRA_THREADS'
|
||||||
|
'LOAD'.'vars.sshmon_command' = 'LOAD'
|
||||||
|
'OOM KILLER'.'vars.sshmon_command' = 'OOM_KILLER'
|
||||||
|
'RAM'.'vars.sshmon_command' = 'RAM'
|
||||||
|
'USER PROCESS SECURITY jira'.'vars.sshmon_command' = 'USER_PROCESS_SECURITY_jira'
|
||||||
|
'ZPOOL SPACE tank'.'vars.sshmon_command' = 'check_zpool_space_tank'
|
|
@ -121,6 +121,12 @@ nodes['fkusei-locutus'] = {
|
||||||
'fkunsmann': {
|
'fkunsmann': {
|
||||||
'password': vault.decrypt('encrypt$gAAAAABgLmmuQGRUStrQawoPee-758emIYn2u8-8ebrgzNAFSp7ifeFDdXXvs-zL3QogwNYlCtBHboH2xfy1rSj6OF5bbNO-tg=='),
|
'password': vault.decrypt('encrypt$gAAAAABgLmmuQGRUStrQawoPee-758emIYn2u8-8ebrgzNAFSp7ifeFDdXXvs-zL3QogwNYlCtBHboH2xfy1rSj6OF5bbNO-tg=='),
|
||||||
'shell': '/usr/bin/fish',
|
'shell': '/usr/bin/fish',
|
||||||
|
'sudo_commands': {
|
||||||
|
'ALL',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'sophie': {
|
||||||
|
'delete': True,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'voc-tracker-worker': {
|
'voc-tracker-worker': {
|
||||||
|
|
6
nodes/home.drucker-sophie.toml
Normal file
6
nodes/home.drucker-sophie.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
dummy = true
|
||||||
|
|
||||||
|
[metadata.interfaces.default]
|
||||||
|
ips = ["172.19.138.61"]
|
||||||
|
dhcp = true
|
||||||
|
mac = "00:14:38:9E:29:E3"
|
|
@ -6,9 +6,6 @@ bundles = [
|
||||||
]
|
]
|
||||||
groups = ["debian-bookworm"]
|
groups = ["debian-bookworm"]
|
||||||
|
|
||||||
[metadata.icinga_options]
|
|
||||||
also_affected_by = ['home.nas']
|
|
||||||
|
|
||||||
[metadata.interfaces.enp1s0]
|
[metadata.interfaces.enp1s0]
|
||||||
ips = [
|
ips = [
|
||||||
"172.19.138.25/24",
|
"172.19.138.25/24",
|
||||||
|
|
35
nodes/home.kodi-wohnzimmer.toml
Normal file
35
nodes/home.kodi-wohnzimmer.toml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
hostname = "172.19.138.24"
|
||||||
|
bundles = ["kodi", "lm-sensors", "nfs-client", "smartd"]
|
||||||
|
groups = ["debian-bullseye"]
|
||||||
|
|
||||||
|
# is powered off
|
||||||
|
dummy = true
|
||||||
|
|
||||||
|
[metadata.apt.packages.intel-media-va-driver-non-free]
|
||||||
|
|
||||||
|
[metadata.apt.unattended-upgrades]
|
||||||
|
day = 6
|
||||||
|
hour = 2
|
||||||
|
# needs powered on display to detect HDMI audio correctly
|
||||||
|
reboot_enabled = false
|
||||||
|
|
||||||
|
[metadata.icinga_options]
|
||||||
|
# is powered off
|
||||||
|
exclude_from_monitoring = true
|
||||||
|
|
||||||
|
[metadata.interfaces.eno1]
|
||||||
|
ips = ["172.19.138.24/24"]
|
||||||
|
gateway4 = "172.19.138.1"
|
||||||
|
ipv6_accept_ra = true
|
||||||
|
|
||||||
|
[metadata.nfs-client.mounts.nas-storage]
|
||||||
|
mountpoint = "/mnt/nas"
|
||||||
|
serverpath = "172.19.138.20:/storage/nas"
|
||||||
|
mount_options = ["retry=0", "ro"]
|
||||||
|
|
||||||
|
[metadata.smartd]
|
||||||
|
disks = ["/dev/nvme0"]
|
||||||
|
|
||||||
|
[metadata.vm]
|
||||||
|
cpu = 2
|
||||||
|
ram = 4
|
|
@ -1,6 +0,0 @@
|
||||||
dummy = true
|
|
||||||
|
|
||||||
[metadata.interfaces.eth0]
|
|
||||||
ips = ["172.19.138.23"]
|
|
||||||
dhcp = true
|
|
||||||
mac = "50:9a:4c:ad:f9:c4"
|
|
|
@ -1,19 +0,0 @@
|
||||||
hostname = "172.19.138.22"
|
|
||||||
groups = ["debian-bookworm"]
|
|
||||||
|
|
||||||
[metadata]
|
|
||||||
icinga_options.exclude_from_monitoring = true
|
|
||||||
|
|
||||||
[metadata.interfaces.eno3]
|
|
||||||
ips = [
|
|
||||||
"172.19.138.22/24",
|
|
||||||
]
|
|
||||||
gateway4 = "172.19.138.1"
|
|
||||||
ipv6_accept_ra = true
|
|
||||||
|
|
||||||
[metadata.users.molly]
|
|
||||||
password = "!decrypt:dummy$no"
|
|
||||||
|
|
||||||
[metadata.vm]
|
|
||||||
cpu = 56
|
|
||||||
ram = 128
|
|
|
@ -1,8 +1,5 @@
|
||||||
dummy = true
|
dummy = true
|
||||||
|
|
||||||
[metadata.icinga_options]
|
|
||||||
also_affected_by = ['home.nas']
|
|
||||||
|
|
||||||
[metadata.interfaces.default]
|
[metadata.interfaces.default]
|
||||||
ips = ["172.19.138.10"]
|
ips = ["172.19.138.10"]
|
||||||
dhcp = true
|
dhcp = true
|
||||||
|
|
9
nodes/home.wled-blobkette.toml
Normal file
9
nodes/home.wled-blobkette.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
dummy = true
|
||||||
|
|
||||||
|
[metadata.interfaces.default]
|
||||||
|
ips = ["172.19.138.73"]
|
||||||
|
dhcp = true
|
||||||
|
mac = "7c:87:ce:b6:54:cd"
|
||||||
|
|
||||||
|
[metadata.icinga_options]
|
||||||
|
exclude_from_monitoring = true
|
9
nodes/home.wled-wohnzimmer.toml
Normal file
9
nodes/home.wled-wohnzimmer.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
dummy = true
|
||||||
|
|
||||||
|
[metadata.interfaces.default]
|
||||||
|
ips = ["172.19.138.70"]
|
||||||
|
dhcp = true
|
||||||
|
mac = "3c:61:05:d0:f2:b9"
|
||||||
|
|
||||||
|
[metadata.icinga_options]
|
||||||
|
exclude_from_monitoring = true
|
|
@ -8,11 +8,6 @@ nodes['home.downloadhelper'] = {
|
||||||
'debian-bullseye',
|
'debian-bullseye',
|
||||||
},
|
},
|
||||||
'metadata': {
|
'metadata': {
|
||||||
'icinga_options': {
|
|
||||||
'also_affected_by': {
|
|
||||||
'home.nas',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'interfaces': {
|
'interfaces': {
|
||||||
'enp1s0.3001': {
|
'enp1s0.3001': {
|
||||||
'dhcp': True,
|
'dhcp': True,
|
||||||
|
|
|
@ -67,6 +67,26 @@ nodes['home.nas'] = {
|
||||||
'/storage/nas/normen',
|
'/storage/nas/normen',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'dm-crypt': {
|
||||||
|
'encrypted-devices': {
|
||||||
|
'/dev/disk/by-id/ata-ST18000NM0092-3CX103_ZVV06JV7-part1': {
|
||||||
|
'dm-name': 'sg-ZVV06JV7-1',
|
||||||
|
'passphrase': bwpass.password('bw/home.nas/dmcrypt/sg-ZVV06JV7-1'),
|
||||||
|
},
|
||||||
|
'/dev/disk/by-id/ata-ST18000NM0092-3CX103_ZVV06JV7-part2': {
|
||||||
|
'dm-name': 'sg-ZVV06JV7-2',
|
||||||
|
'passphrase': bwpass.password('bw/home.nas/dmcrypt/sg-ZVV06JV7-2'),
|
||||||
|
},
|
||||||
|
'/dev/disk/by-id/ata-ST18000NM0092-3CX103_ZVV06SLR-part1': {
|
||||||
|
'dm-name': 'sg-ZVV06SLR-1',
|
||||||
|
'passphrase': bwpass.password('bw/home.nas/dmcrypt/sg-ZVV06SLR-1'),
|
||||||
|
},
|
||||||
|
'/dev/disk/by-id/ata-ST18000NM0092-3CX103_ZVV06SLR-part2': {
|
||||||
|
'dm-name': 'sg-ZVV06SLR-2',
|
||||||
|
'passphrase': bwpass.password('bw/home.nas/dmcrypt/sg-ZVV06SLR-2'),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
'groups': {
|
'groups': {
|
||||||
'nas': {},
|
'nas': {},
|
||||||
},
|
},
|
||||||
|
@ -101,14 +121,6 @@ nodes['home.nas'] = {
|
||||||
'home.lgtv-wohnzimmer',
|
'home.lgtv-wohnzimmer',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'mixcloud-downloader': {
|
|
||||||
'netrc': {
|
|
||||||
'soundcloud': {
|
|
||||||
'username': 'oauth',
|
|
||||||
'password': bwpass.attr('soundcloud.com/hi@kunsmann.eu', 'oauth_token'),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'mosquitto': {
|
'mosquitto': {
|
||||||
'bridges': {
|
'bridges': {
|
||||||
'c3voc': {
|
'c3voc': {
|
||||||
|
@ -171,6 +183,10 @@ nodes['home.nas'] = {
|
||||||
'disks': {
|
'disks': {
|
||||||
'/dev/nvme0',
|
'/dev/nvme0',
|
||||||
|
|
||||||
|
# encrypted disks
|
||||||
|
'/dev/disk/by-id/ata-ST18000NM0092-3CX103_ZVV06JV7',
|
||||||
|
'/dev/disk/by-id/ata-ST18000NM0092-3CX103_ZVV06SLR',
|
||||||
|
|
||||||
# ZFS cache disks
|
# ZFS cache disks
|
||||||
#'/dev/disk/by-id/ata-TS64GSSD370_B807810503',
|
#'/dev/disk/by-id/ata-TS64GSSD370_B807810503',
|
||||||
#'/dev/disk/by-id/ata-TS64GSSD370_B807810527',
|
#'/dev/disk/by-id/ata-TS64GSSD370_B807810527',
|
||||||
|
@ -207,6 +223,9 @@ nodes['home.nas'] = {
|
||||||
'enable_x_forwarding_for_admins': True,
|
'enable_x_forwarding_for_admins': True,
|
||||||
},
|
},
|
||||||
'users': {
|
'users': {
|
||||||
|
'f2k1de': {
|
||||||
|
'delete': True,
|
||||||
|
},
|
||||||
'inbox': {
|
'inbox': {
|
||||||
'ssh_pubkey': {
|
'ssh_pubkey': {
|
||||||
#'command="/usr/share/rsync/scripts/rrsync -wo /storage/inbox/",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ',
|
#'command="/usr/share/rsync/scripts/rrsync -wo /storage/inbox/",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ',
|
||||||
|
@ -217,6 +236,14 @@ nodes['home.nas'] = {
|
||||||
'nas',
|
'nas',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'sophie': {
|
||||||
|
'groups': {
|
||||||
|
'nas',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'qcn': {
|
||||||
|
'delete': True,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'zfs': {
|
'zfs': {
|
||||||
'module_options': {
|
'module_options': {
|
||||||
|
@ -255,14 +282,58 @@ nodes['home.nas'] = {
|
||||||
'ashift': 12,
|
'ashift': 12,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'encrypted': {
|
||||||
|
'when_creating': {
|
||||||
|
'config': [
|
||||||
|
# These are new and fancy "dual actuator"
|
||||||
|
# drives, partitioned into two partitions
|
||||||
|
# taking 50% of the disk each.
|
||||||
|
{
|
||||||
|
'type': 'mirror',
|
||||||
|
'devices': {
|
||||||
|
'/dev/mapper/sg-ZVV06JV7-1',
|
||||||
|
'/dev/mapper/sg-ZVV06SLR-1',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'type': 'mirror',
|
||||||
|
'devices': {
|
||||||
|
'/dev/mapper/sg-ZVV06JV7-2',
|
||||||
|
'/dev/mapper/sg-ZVV06SLR-2',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
'ashift': 12
|
||||||
|
},
|
||||||
|
'needs': {
|
||||||
|
'action:dm-crypt_open_sg-ZVV06JV7-1',
|
||||||
|
'action:dm-crypt_open_sg-ZVV06JV7-2',
|
||||||
|
'action:dm-crypt_open_sg-ZVV06SLR-1',
|
||||||
|
'action:dm-crypt_open_sg-ZVV06SLR-2',
|
||||||
|
},
|
||||||
|
# see comment in bundle:backup-server
|
||||||
|
'unless': 'zpool import encrypted',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'datasets': {
|
'datasets': {
|
||||||
|
'encrypted': {
|
||||||
|
'primarycache': 'metadata',
|
||||||
|
},
|
||||||
|
'encrypted/nas': {
|
||||||
|
'acltype': 'off',
|
||||||
|
'atime': 'off',
|
||||||
|
'compression': 'off',
|
||||||
|
'mountpoint': '/media/nas',
|
||||||
|
},
|
||||||
'storage': {
|
'storage': {
|
||||||
'primarycache': 'metadata',
|
'primarycache': 'metadata',
|
||||||
},
|
},
|
||||||
'storage/opt-yate': {
|
'storage/opt-yate': {
|
||||||
'mountpoint': '/opt/yate',
|
'mountpoint': '/opt/yate',
|
||||||
},
|
},
|
||||||
|
'storage/f2k1de': {
|
||||||
|
'mountpoint': '/storage/f2k1de',
|
||||||
|
},
|
||||||
'storage/download': {
|
'storage/download': {
|
||||||
'mountpoint': '/storage/download',
|
'mountpoint': '/storage/download',
|
||||||
},
|
},
|
||||||
|
@ -271,9 +342,6 @@ nodes['home.nas'] = {
|
||||||
'mountpoint': '/storage/inbox',
|
'mountpoint': '/storage/inbox',
|
||||||
},
|
},
|
||||||
'storage/nas': {
|
'storage/nas': {
|
||||||
'acltype': 'off',
|
|
||||||
'atime': 'off',
|
|
||||||
'compression': 'off',
|
|
||||||
'mountpoint': '/storage/nas',
|
'mountpoint': '/storage/nas',
|
||||||
},
|
},
|
||||||
'storage/paperless': {
|
'storage/paperless': {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
nodes['sophie.paperless'] = {
|
nodes['home.paperless-sophie'] = {
|
||||||
'hostname': '172.19.138.30',
|
'hostname': '172.19.138.30',
|
||||||
'bundles': {
|
'bundles': {
|
||||||
'nfs-client',
|
'nfs-client',
|
||||||
|
@ -61,6 +61,13 @@ nodes['sophie.paperless'] = {
|
||||||
'postgresql': {
|
'postgresql': {
|
||||||
'version': '11',
|
'version': '11',
|
||||||
},
|
},
|
||||||
|
'users': {
|
||||||
|
'sophie': {
|
||||||
|
'sudo_commands': {
|
||||||
|
'ALL',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
'vm': {
|
'vm': {
|
||||||
'cpu': 2,
|
'cpu': 2,
|
||||||
'ram': 2,
|
'ram': 2,
|
|
@ -12,11 +12,6 @@ nodes['home.paperless'] = {
|
||||||
'webserver',
|
'webserver',
|
||||||
},
|
},
|
||||||
'metadata': {
|
'metadata': {
|
||||||
'icinga_options': {
|
|
||||||
'also_affected_by': {
|
|
||||||
'home.nas',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'interfaces': {
|
'interfaces': {
|
||||||
'enp1s0': {
|
'enp1s0': {
|
||||||
'ips': {
|
'ips': {
|
||||||
|
@ -47,7 +42,7 @@ nodes['home.paperless'] = {
|
||||||
},
|
},
|
||||||
'paperless': {
|
'paperless': {
|
||||||
'domain': 'paperless.home.kunbox.net',
|
'domain': 'paperless.home.kunbox.net',
|
||||||
'version': 'v2.11.0',
|
'version': 'v2.8.3',
|
||||||
'timezone': 'Europe/Berlin',
|
'timezone': 'Europe/Berlin',
|
||||||
},
|
},
|
||||||
'postgresql': {
|
'postgresql': {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
nodes['sophie.rechenmonster'] = {
|
nodes['home.rechenmonster'] = {
|
||||||
'hostname': '172.19.138.98',
|
'hostname': '172.19.138.98',
|
||||||
'bundles': {
|
'bundles': {
|
||||||
'basic',
|
'basic',
|
||||||
|
@ -54,6 +54,9 @@ nodes['sophie.rechenmonster'] = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'users': {
|
'users': {
|
||||||
|
'kunsi': {
|
||||||
|
'password': vault.decrypt('encrypt$gAAAAABgLmmuQGRUStrQawoPee-758emIYn2u8-8ebrgzNAFSp7ifeFDdXXvs-zL3QogwNYlCtBHboH2xfy1rSj6OF5bbNO-tg=='),
|
||||||
|
},
|
||||||
'sophie': {
|
'sophie': {
|
||||||
'password': vault.decrypt('encrypt$gAAAAABiEAyiedXL6ZnvelOMumhcB73X72SXZhjS_G0EDYVK5-NQ3_J_0h1W1HkFBNe5tShGNmg88jUiULRBn5u2IoiRGiDrYg=='),
|
'password': vault.decrypt('encrypt$gAAAAABiEAyiedXL6ZnvelOMumhcB73X72SXZhjS_G0EDYVK5-NQ3_J_0h1W1HkFBNe5tShGNmg88jUiULRBn5u2IoiRGiDrYg=='),
|
||||||
},
|
},
|
||||||
|
@ -88,9 +91,6 @@ nodes['sophie.rechenmonster'] = {
|
||||||
'storage/video': {
|
'storage/video': {
|
||||||
'mountpoint': '/video',
|
'mountpoint': '/video',
|
||||||
},
|
},
|
||||||
'storage/nas': {
|
|
||||||
'mountpoint': '/nas',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
|
@ -146,7 +146,11 @@ nodes['home.router'] = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'users': {
|
'users': {
|
||||||
|
'f2k1de': {
|
||||||
|
'delete': True,
|
||||||
|
},
|
||||||
'fkunsmann': {},
|
'fkunsmann': {},
|
||||||
|
'sophie': {},
|
||||||
},
|
},
|
||||||
'vnstat': {
|
'vnstat': {
|
||||||
'interface': 'enp1s0.7',
|
'interface': 'enp1s0.7',
|
||||||
|
|
|
@ -32,7 +32,7 @@ routes.'172.19.128.0/20'.via = "172.19.137.1"
|
||||||
|
|
||||||
[metadata.element-web]
|
[metadata.element-web]
|
||||||
url = "element.afra.berlin"
|
url = "element.afra.berlin"
|
||||||
version = "v1.11.71"
|
version = "v1.11.66"
|
||||||
|
|
||||||
[metadata.element-web.config]
|
[metadata.element-web.config]
|
||||||
default_server_config.'m.homeserver'.base_url = "https://matrix.afra.berlin"
|
default_server_config.'m.homeserver'.base_url = "https://matrix.afra.berlin"
|
||||||
|
@ -44,14 +44,13 @@ jitsi.preferredDomain = "meet.ffmuc.net"
|
||||||
[metadata.matrix-media-repo]
|
[metadata.matrix-media-repo]
|
||||||
admins = ['@administress:afra.berlin']
|
admins = ['@administress:afra.berlin']
|
||||||
datastore_id = "e33b50474021fba9977f912414cdd7fe8890ed57"
|
datastore_id = "e33b50474021fba9977f912414cdd7fe8890ed57"
|
||||||
sha1 = "ef9e8624e70714e4d421ece0c27f2974f55c0e59"
|
sha1 = "55d353b472894547c61b11567089eb2cf40ce5ba"
|
||||||
upload_max_mb = 50
|
upload_max_mb = 50
|
||||||
version = "v1.3.6"
|
version = "v1.3.4"
|
||||||
|
|
||||||
[metadata.matrix-media-repo.homeservers.'afra.berlin']
|
[metadata.matrix-media-repo.homeservers.'afra.berlin']
|
||||||
domain = "http://[::1]:20080/"
|
domain = "http://[::1]:20080/"
|
||||||
api = "synapse"
|
api = "synapse"
|
||||||
signing_key_path = "/etc/matrix-synapse/mmr.signing.key"
|
|
||||||
|
|
||||||
[metadata.matrix-registration]
|
[metadata.matrix-registration]
|
||||||
base_path = "/matrix"
|
base_path = "/matrix"
|
||||||
|
|
|
@ -15,7 +15,6 @@ nodes['htz-cloud.miniserver'] = {
|
||||||
},
|
},
|
||||||
'groups': {
|
'groups': {
|
||||||
'debian-bookworm',
|
'debian-bookworm',
|
||||||
'sophie',
|
|
||||||
'webserver',
|
'webserver',
|
||||||
},
|
},
|
||||||
'metadata': {
|
'metadata': {
|
||||||
|
@ -63,7 +62,7 @@ nodes['htz-cloud.miniserver'] = {
|
||||||
},
|
},
|
||||||
'element-web': {
|
'element-web': {
|
||||||
'url': 'chat.sophies-kitchen.eu',
|
'url': 'chat.sophies-kitchen.eu',
|
||||||
'version': 'v1.11.69',
|
'version': 'v1.11.66',
|
||||||
'config': {
|
'config': {
|
||||||
'default_server_config': {
|
'default_server_config': {
|
||||||
'm.homeserver': {
|
'm.homeserver': {
|
||||||
|
@ -90,6 +89,10 @@ nodes['htz-cloud.miniserver'] = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'icinga_options': {
|
||||||
|
'pretty_name': 'sophies-kitchen.eu',
|
||||||
|
'vars.notification.sms': False,
|
||||||
|
},
|
||||||
'letsencrypt': {
|
'letsencrypt': {
|
||||||
'concat_and_deploy': {
|
'concat_and_deploy': {
|
||||||
'sophie-weechat': {
|
'sophie-weechat': {
|
|
@ -83,6 +83,9 @@ nodes['htz-cloud.pirmasens'] = {
|
||||||
'users': {
|
'users': {
|
||||||
'forgejo-carlene': {},
|
'forgejo-carlene': {},
|
||||||
'frank': {},
|
'frank': {},
|
||||||
|
'sophie': {
|
||||||
|
'delete': True,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'vm': {
|
'vm': {
|
||||||
'cpu': 2,
|
'cpu': 2,
|
||||||
|
|
|
@ -32,6 +32,22 @@ nodes['htz-hel.backup-kunsi'] = {
|
||||||
'encrypted-devices': {
|
'encrypted-devices': {
|
||||||
'/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1-part1': bwpass.password('bw/backup-kunsi/encryption-passphrase'),
|
'/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1-part1': bwpass.password('bw/backup-kunsi/encryption-passphrase'),
|
||||||
},
|
},
|
||||||
|
'clients': {
|
||||||
|
'kunsi-t470': {
|
||||||
|
'user': 'kunsi-t470',
|
||||||
|
'exclude_from_monitoring': True,
|
||||||
|
'retain': {
|
||||||
|
'daily': 30,
|
||||||
|
'weekly': 6,
|
||||||
|
'monthly': 12,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'openssh': {
|
||||||
|
'allowed_users': {
|
||||||
|
'kunsi-t470', # backup user
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,6 @@ nodes['htz-hel.backup-sophie'] = {
|
||||||
},
|
},
|
||||||
'groups': {
|
'groups': {
|
||||||
'debian-bullseye',
|
'debian-bullseye',
|
||||||
'sophie',
|
|
||||||
},
|
},
|
||||||
'metadata': {
|
'metadata': {
|
||||||
'apt': {
|
'apt': {
|
||||||
|
@ -31,6 +30,9 @@ nodes['htz-hel.backup-sophie'] = {
|
||||||
'gateway6': '2a01:4f9:6b:2d99::2',
|
'gateway6': '2a01:4f9:6b:2d99::2',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'icinga_options': {
|
||||||
|
'pretty_name': 'backup.sophies-kitchen.eu',
|
||||||
|
},
|
||||||
'vm': {
|
'vm': {
|
||||||
'cpu': 4,
|
'cpu': 4,
|
||||||
'ram': 8,
|
'ram': 8,
|
||||||
|
@ -46,6 +48,9 @@ nodes['htz-hel.backup-sophie'] = {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'users': {
|
||||||
|
'sophie': {},
|
||||||
|
},
|
||||||
'zfs': {
|
'zfs': {
|
||||||
'datasets': {
|
'datasets': {
|
||||||
'tank/ejgwthink': {
|
'tank/ejgwthink': {
|
|
@ -162,6 +162,9 @@ nodes['kunsi-p14s'] = {
|
||||||
'password': vault.decrypt('encrypt$gAAAAABgLmmuQGRUStrQawoPee-758emIYn2u8-8ebrgzNAFSp7ifeFDdXXvs-zL3QogwNYlCtBHboH2xfy1rSj6OF5bbNO-tg=='),
|
'password': vault.decrypt('encrypt$gAAAAABgLmmuQGRUStrQawoPee-758emIYn2u8-8ebrgzNAFSp7ifeFDdXXvs-zL3QogwNYlCtBHboH2xfy1rSj6OF5bbNO-tg=='),
|
||||||
'shell': '/usr/bin/fish',
|
'shell': '/usr/bin/fish',
|
||||||
},
|
},
|
||||||
|
'sophie': {
|
||||||
|
'delete': True,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'wireguard': {
|
'wireguard': {
|
||||||
'peers': {
|
'peers': {
|
||||||
|
|
|
@ -11,11 +11,11 @@ groups = [
|
||||||
|
|
||||||
[metadata.interfaces.ens192]
|
[metadata.interfaces.ens192]
|
||||||
ips = [
|
ips = [
|
||||||
"82.165.52.168/32",
|
"82.165.52.168",
|
||||||
"2a01:239:31c:9b00::1/80"
|
"2001:8d8:1801:7d4::1/64",
|
||||||
]
|
]
|
||||||
gateway4 = "82.165.52.1"
|
gateway4 = "10.255.255.1"
|
||||||
gateway6 = "fe80::1"
|
gateway6 = "fe80::250:56ff:fea8:628f"
|
||||||
|
|
||||||
[metadata.nginx.vhosts.powerdnsadmin]
|
[metadata.nginx.vhosts.powerdnsadmin]
|
||||||
domain = "ns-mephisto.kunbox.net"
|
domain = "ns-mephisto.kunbox.net"
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
hostname = "172.19.164.3"
|
|
||||||
bundles = [
|
|
||||||
'homeassistant',
|
|
||||||
'nginx',
|
|
||||||
'pyenv',
|
|
||||||
]
|
|
||||||
groups = [
|
|
||||||
"debian-bookworm",
|
|
||||||
]
|
|
||||||
|
|
||||||
[metadata.interfaces.enp7s0]
|
|
||||||
ips = [
|
|
||||||
"172.19.164.3/24",
|
|
||||||
]
|
|
||||||
gateway4 = "172.19.164.1"
|
|
||||||
ipv6_accept_ra = true
|
|
||||||
|
|
||||||
[metadata.vm]
|
|
||||||
cpu = 2
|
|
||||||
ram = 4
|
|
||||||
|
|
||||||
[metadata.homeassistant]
|
|
||||||
domain = 'homeassistant.home.sophies-kitchen.eu'
|
|
||||||
api_secret = 'encrypt$gAAAAABjpyuqXLoilokQW5c0zV8shHcOzN1zkEbS-I6WAAX-xDO_OF33YbjbkpELU2HGBzqiWX40J0hsaEbYJOnCHFk8gJ-Xt0vdqqbQ5vca_TGPNQHZPAS4qZoPTcUhmX_I-0EdT6ukhxejXFYBiYRZikTLjH3lcNM5qnckCm-H9NbRdjLb9hbCDIjbEglHmBl_g08S1_ukvX3dDSCIHIxgXXGsdK_Go1KxPJd8G22FL_MMhCfsTW-6ioIqoHSeSA1NGk3MZHEIM2errckiopKBxoBaROsacO9Uqk1zrrgXOs2NsgiTRtrbV1TNlFVaIX9mZdsUnMGZ'
|
|
||||||
|
|
||||||
[metadata.nginx]
|
|
||||||
restrict-to = [
|
|
||||||
'172.19.164.0/22',
|
|
||||||
]
|
|
||||||
|
|
||||||
[metadata.pyenv]
|
|
||||||
version = 'v2.3.36'
|
|
||||||
python_versions = ["3.12.2"]
|
|
||||||
|
|
||||||
[metadata.nginx.vhosts.homeassistant]
|
|
||||||
ssl = '_.home.sophies-kitchen.eu'
|
|
|
@ -1,85 +0,0 @@
|
||||||
nodes['sophie.vmhost'] = {
|
|
||||||
'hostname': '172.19.164.2',
|
|
||||||
'bundles': {
|
|
||||||
'backup-client',
|
|
||||||
'lm-sensors',
|
|
||||||
'mosquitto',
|
|
||||||
'smartd',
|
|
||||||
'vmhost',
|
|
||||||
'zfs',
|
|
||||||
},
|
|
||||||
'groups': {
|
|
||||||
'debian-bookworm',
|
|
||||||
},
|
|
||||||
'metadata': {
|
|
||||||
'interfaces': {
|
|
||||||
'br1': {
|
|
||||||
'ips': {
|
|
||||||
'172.19.164.2/24',
|
|
||||||
},
|
|
||||||
'gateway4': '172.19.164.1',
|
|
||||||
'ipv6_accept_ra': True,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'mosquitto': {
|
|
||||||
'bridges': {
|
|
||||||
'c3voc': {
|
|
||||||
'peer': 'mqtt.c3voc.de',
|
|
||||||
'client_id': 'sophie-vm-host',
|
|
||||||
'auth': {
|
|
||||||
'username': vault.decrypt('encrypt$gAAAAABgaBa5UZyZlsMM9TV5pa-VyOieFWYzAslxWVnXjOeXHvF4kMHHSHSMOrv-U9k7Ec3mMCDuJFO3ybpOsZSeFQDL7GgEfw=='),
|
|
||||||
'password': vault.decrypt('encrypt$gAAAAABgaBbfm65cYBuod0UehWNmY0NfeUH9xsrP2kENYNF_LWP2iV5a8db_cqMoITwyjjBsHpvjaeDq07Z5K5nQ_BLZG6zPqapL-Qvp20wyck49Dy2R4V4='),
|
|
||||||
},
|
|
||||||
'topics': [
|
|
||||||
{
|
|
||||||
'pattern': '#',
|
|
||||||
'remote_prefix': '/voc/',
|
|
||||||
'local_prefix': 'voc'
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'listeners': {
|
|
||||||
'8083': {
|
|
||||||
'protocol': 'websockets',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'tasmota-telegraf-topic': '/switch/#',
|
|
||||||
'restrict-to': {
|
|
||||||
'172.19.164.0/24',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'systemd-networkd': {
|
|
||||||
'bridges': {
|
|
||||||
'br0': {
|
|
||||||
'match': {
|
|
||||||
'eno2',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'br1': {
|
|
||||||
'match': {
|
|
||||||
'br0.1',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'zfs': {
|
|
||||||
'pools': {
|
|
||||||
'storage': {
|
|
||||||
'when_creating': {
|
|
||||||
'config': [{
|
|
||||||
'devices': {
|
|
||||||
'/dev/disk/by-id/nvme-SAMSUNG_MZVLB256HAHQ-000L7_S41GNX0M481966-part3',
|
|
||||||
},
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"datasets": {
|
|
||||||
"storage/libvirt": {
|
|
||||||
"mountpoint": "/var/lib/libvirt",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -25,7 +25,7 @@ nodes['voc.infobeamer-cms'] = {
|
||||||
},
|
},
|
||||||
'infobeamer-cms': {
|
'infobeamer-cms': {
|
||||||
'domain': 'infobeamer.c3voc.de',
|
'domain': 'infobeamer.c3voc.de',
|
||||||
'event_start_date': '2024-05-29',
|
'event_start_date': '2023-12-26',
|
||||||
'event_duration_days': 5,
|
'event_duration_days': 5,
|
||||||
'config': {
|
'config': {
|
||||||
'ADMIN_USERS': [
|
'ADMIN_USERS': [
|
||||||
|
@ -45,7 +45,7 @@ nodes['voc.infobeamer-cms'] = {
|
||||||
'MQTT_TOPIC': '/voc/alert',
|
'MQTT_TOPIC': '/voc/alert',
|
||||||
'MQTT_USERNAME': vault.decrypt('encrypt$gAAAAABhxakKHC_kHmHP2mFHorb4niuNTH4F24w1D6m5JUxl117N7znlZA6fpMmY3_NcmBr2Ihw4hL3FjZr9Fm_1oUZ1ZQdADA=='),
|
'MQTT_USERNAME': vault.decrypt('encrypt$gAAAAABhxakKHC_kHmHP2mFHorb4niuNTH4F24w1D6m5JUxl117N7znlZA6fpMmY3_NcmBr2Ihw4hL3FjZr9Fm_1oUZ1ZQdADA=='),
|
||||||
'SETUP_IDS': [
|
'SETUP_IDS': [
|
||||||
250294,
|
245793,
|
||||||
],
|
],
|
||||||
# 'EXTRA_ASSETS': [{
|
# 'EXTRA_ASSETS': [{
|
||||||
# 'type': "image",
|
# 'type': "image",
|
||||||
|
|
|
@ -1,48 +1,24 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
|
||||||
from json import dump
|
from json import dump
|
||||||
from os import environ, makedirs, remove, scandir
|
from os import environ
|
||||||
from os.path import abspath, dirname, join
|
from os.path import dirname, join
|
||||||
from sys import exit
|
from sys import exit
|
||||||
|
|
||||||
import bwpass
|
import bwpass
|
||||||
from requests import post
|
from requests import post
|
||||||
|
|
||||||
from bundlewrap.utils.text import bold, red, validate_name
|
from bundlewrap.utils.text import validate_name
|
||||||
from bundlewrap.utils.ui import io
|
|
||||||
|
|
||||||
TOKEN = environ.get("NETBOX_AUTH_TOKEN")
|
TOKEN = environ.get("NETBOX_AUTH_TOKEN")
|
||||||
if not TOKEN:
|
|
||||||
try:
|
|
||||||
TOKEN = bwpass.attr("netbox.franzi.business/kunsi", "token")
|
|
||||||
except Exception:
|
|
||||||
print("NETBOX_AUTH_TOKEN missing")
|
|
||||||
exit(1)
|
|
||||||
|
|
||||||
TARGET_PATH = join(dirname(dirname(abspath(__file__))), "configs", "netbox")
|
# editorconfig-checker-disable
|
||||||
|
QUERY = """{
|
||||||
QUERY_SITES = """{
|
device_list(tag: "bundlewrap") {
|
||||||
site_list {
|
|
||||||
name
|
|
||||||
id
|
|
||||||
vlans {
|
|
||||||
name
|
|
||||||
vid
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}"""
|
|
||||||
|
|
||||||
QUERY_DEVICES = """{
|
|
||||||
device_list(filters: {tag: "bundlewrap", site_id: "SITE_ID"}) {
|
|
||||||
name
|
name
|
||||||
|
site {
|
||||||
id
|
id
|
||||||
}
|
}
|
||||||
}"""
|
|
||||||
|
|
||||||
QUERY_DEVICE_DETAILS = """{
|
|
||||||
device(id: DEVICE_ID) {
|
|
||||||
name
|
|
||||||
interfaces {
|
interfaces {
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
|
@ -83,10 +59,23 @@ QUERY_DEVICE_DETAILS = """{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
site_list {
|
||||||
|
id
|
||||||
|
vlans {
|
||||||
|
name
|
||||||
|
vid
|
||||||
|
}
|
||||||
|
}
|
||||||
}"""
|
}"""
|
||||||
|
# editorconfig-checker-enable
|
||||||
|
|
||||||
|
if not TOKEN:
|
||||||
|
try:
|
||||||
|
TOKEN = bwpass.attr("netbox.franzi.business/kunsi", "token")
|
||||||
|
except Exception:
|
||||||
|
print("NETBOX_AUTH_TOKEN is missing")
|
||||||
|
exit(1)
|
||||||
|
|
||||||
def graphql(query):
|
|
||||||
r = post(
|
r = post(
|
||||||
"https://netbox.franzi.business/graphql/",
|
"https://netbox.franzi.business/graphql/",
|
||||||
headers={
|
headers={
|
||||||
|
@ -94,68 +83,27 @@ def graphql(query):
|
||||||
"Authorization": f"Token {TOKEN}",
|
"Authorization": f"Token {TOKEN}",
|
||||||
},
|
},
|
||||||
json={
|
json={
|
||||||
"query": query,
|
"query": QUERY,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
r.raise_for_status()
|
r.raise_for_status()
|
||||||
return r.json()["data"]
|
|
||||||
|
|
||||||
|
data = r.json()["data"]
|
||||||
|
|
||||||
def filter_results(results, filter_by):
|
site_vlans = {site["id"]: site["vlans"] for site in data["site_list"]}
|
||||||
if filter_by is None:
|
|
||||||
return results
|
|
||||||
|
|
||||||
out = []
|
for device in data["device_list"]:
|
||||||
for result in results:
|
|
||||||
if str(result["id"]) in filter_by or result["name"] in filter_by:
|
|
||||||
out.append(result)
|
|
||||||
return out
|
|
||||||
|
|
||||||
|
|
||||||
parser = ArgumentParser()
|
|
||||||
parser.add_argument("--only-site", nargs="+", type=str)
|
|
||||||
parser.add_argument("--only-device", nargs="+", type=str)
|
|
||||||
args = parser.parse_args()
|
|
||||||
|
|
||||||
try:
|
|
||||||
io.activate()
|
|
||||||
filenames_used = set()
|
|
||||||
|
|
||||||
with io.job("getting sites"):
|
|
||||||
sites = filter_results(
|
|
||||||
graphql(QUERY_SITES).get("site_list", []), args.only_site
|
|
||||||
)
|
|
||||||
|
|
||||||
io.stdout(f"Processing {len(sites)} sites in total")
|
|
||||||
|
|
||||||
for site in sites:
|
|
||||||
with io.job(f"{bold(site['name'])} getting devices"):
|
|
||||||
devices = filter_results(
|
|
||||||
graphql(QUERY_DEVICES.replace("SITE_ID", site["id"])).get(
|
|
||||||
"device_list", []
|
|
||||||
),
|
|
||||||
args.only_device,
|
|
||||||
)
|
|
||||||
io.stdout(f"Site {bold(site['name'])} has {len(devices)} devices to process")
|
|
||||||
|
|
||||||
for device in devices:
|
|
||||||
if not device["name"] or not validate_name(device["name"]):
|
if not device["name"] or not validate_name(device["name"]):
|
||||||
# invalid node name, ignore
|
# invalid node name, ignore
|
||||||
continue
|
continue
|
||||||
|
|
||||||
with io.job(
|
|
||||||
f"{bold(site['name'])} {bold(device['name'])} getting interfaces"
|
|
||||||
):
|
|
||||||
details = graphql(
|
|
||||||
QUERY_DEVICE_DETAILS.replace("DEVICE_ID", device["id"])
|
|
||||||
)["device"]
|
|
||||||
|
|
||||||
result = {
|
result = {
|
||||||
"interfaces": {},
|
"interfaces": {},
|
||||||
"vlans": site["vlans"],
|
"vlans": site_vlans[device["site"]["id"]],
|
||||||
}
|
}
|
||||||
|
|
||||||
for interface in details["interfaces"]:
|
for interface in device["interfaces"]:
|
||||||
|
description = ""
|
||||||
peers = None
|
peers = None
|
||||||
|
|
||||||
if interface["connected_endpoints"]:
|
if interface["connected_endpoints"]:
|
||||||
|
@ -187,29 +135,19 @@ try:
|
||||||
"enabled": interface["enabled"],
|
"enabled": interface["enabled"],
|
||||||
"mode": interface["mode"],
|
"mode": interface["mode"],
|
||||||
"type": interface["type"],
|
"type": interface["type"],
|
||||||
"ips": sorted(
|
"ips": sorted({i['address'] for i in interface['ip_addresses']}),
|
||||||
{i["address"] for i in interface["ip_addresses"]}
|
"untagged_vlan": interface["untagged_vlan"]["name"]
|
||||||
),
|
|
||||||
"untagged_vlan": (
|
|
||||||
interface["untagged_vlan"]["name"]
|
|
||||||
if interface["untagged_vlan"]
|
if interface["untagged_vlan"]
|
||||||
else None
|
else None,
|
||||||
),
|
"tagged_vlans": sorted({v["name"] for v in interface["tagged_vlans"]}),
|
||||||
"tagged_vlans": sorted(
|
|
||||||
{v["name"] for v in interface["tagged_vlans"]}
|
|
||||||
),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if result["interfaces"]:
|
|
||||||
filename = f"{device['name']}.json"
|
|
||||||
filenames_used.add(filename)
|
|
||||||
file_with_path = join(TARGET_PATH, filename)
|
|
||||||
|
|
||||||
with io.job(
|
|
||||||
f"{bold(site['name'])} {bold(device['name'])} writing to {file_with_path}"
|
|
||||||
):
|
|
||||||
with open(
|
with open(
|
||||||
file_with_path,
|
join(
|
||||||
|
dirname(dirname(__file__)),
|
||||||
|
"configs",
|
||||||
|
"netbox_device_{}.json".format(device["name"]),
|
||||||
|
),
|
||||||
"w+",
|
"w+",
|
||||||
) as f:
|
) as f:
|
||||||
dump(
|
dump(
|
||||||
|
@ -218,23 +156,3 @@ try:
|
||||||
indent=4,
|
indent=4,
|
||||||
sort_keys=True,
|
sort_keys=True,
|
||||||
)
|
)
|
||||||
else:
|
|
||||||
io.stdout(
|
|
||||||
f"device {bold(device['name'])} has no interfaces, {red('not')} dumping!"
|
|
||||||
)
|
|
||||||
|
|
||||||
if not args.only_site and not args.only_device and filenames_used:
|
|
||||||
with io.job(f"cleaning leftover files from {TARGET_PATH}"):
|
|
||||||
for direntry in scandir(TARGET_PATH):
|
|
||||||
filename = direntry.name
|
|
||||||
if filename.startswith("."):
|
|
||||||
continue
|
|
||||||
if not direntry.is_file():
|
|
||||||
io.stderr(
|
|
||||||
f"found non-file {filename} in {TARGET_PATH}, please check what's going on!"
|
|
||||||
)
|
|
||||||
continue
|
|
||||||
if filename not in filenames_used:
|
|
||||||
remove(join(TARGET_PATH, filename))
|
|
||||||
finally:
|
|
||||||
io.deactivate()
|
|
||||||
|
|
Loading…
Reference in a new issue