home.server debian-12

This commit is contained in:
cronekorkn 2023-07-05 23:43:20 +02:00
parent b8675adf99
commit b2aadeb98c
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw
7 changed files with 17 additions and 5 deletions

View file

@ -1,10 +1,12 @@
debian_version = min([node.os_version, (11,)])[0] # FIXME
defaults = { defaults = {
'apt': { 'apt': {
'packages': { 'packages': {
'crystal': {}, 'crystal': {},
}, },
'sources': { 'sources': {
'deb https://download.opensuse.org/repositories/devel:/languages:/crystal/Debian_{version}/ /', f'deb https://download.opensuse.org/repositories/devel:/languages:/crystal/Debian_{debian_version}/ /',
}, },
}, },
} }

View file

@ -10,6 +10,7 @@ defaults = {
}, },
'sources': { 'sources': {
'deb https://packages.icinga.com/debian icinga-{codename} main', 'deb https://packages.icinga.com/debian icinga-{codename} main',
'deb-src https://packages.icinga.com/debian icinga-{codename} main',
}, },
}, },
'icinga2': { 'icinga2': {

View file

@ -163,6 +163,7 @@ def nginx(metadata):
metadata.get('icingaweb2/hostname'): { metadata.get('icingaweb2/hostname'): {
'content': 'icingaweb2/vhost.conf', 'content': 'icingaweb2/vhost.conf',
'context': { 'context': {
'php_version': metadata.get('php/version'),
}, },
}, },
}, },

View file

@ -7,7 +7,7 @@ defaults = {
'influxdb2-cli': {}, 'influxdb2-cli': {},
}, },
'sources': { 'sources': {
'deb https://repos.influxdata.com/debian {codename} stable', 'deb https://repos.influxdata.com/debian stable main'
}, },
}, },
'nftables': { 'nftables': {

View file

@ -5,6 +5,9 @@ defaults = {
'apt': { 'apt': {
'packages': { 'packages': {
'nginx': {}, 'nginx': {},
'apache2': {
'installed': False,
},
}, },
}, },
'nftables': { 'nftables': {

View file

@ -20,7 +20,7 @@ server {
} }
location ~ ^/icingaweb2/index\.php(.*)$ { location ~ ^/icingaweb2/index\.php(.*)$ {
fastcgi_pass unix:/run/php/php7.4-fpm.sock; fastcgi_pass unix:/run/php/php${php_version}-fpm.sock;
fastcgi_index index.php; fastcgi_index index.php;
include fastcgi_params; include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php; fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php;

View file

@ -3,7 +3,7 @@
'groups': [ 'groups': [
'autologin', 'autologin',
'backup', 'backup',
'debian-11', 'debian-12',
'home', 'home',
'nextcloud', 'nextcloud',
'monitored', 'monitored',
@ -46,6 +46,11 @@
'gateway4': '10.0.0.1', 'gateway4': '10.0.0.1',
}, },
}, },
'apt': {
'packages': {
'firmware-realtek': {},
},
},
'build-server': { 'build-server': {
'hostname': 'build.sublimity.de', 'hostname': 'build.sublimity.de',
'architectures': { 'architectures': {
@ -106,7 +111,7 @@
}, },
'nextcloud': { 'nextcloud': {
'hostname': 'cloud.sublimity.de', 'hostname': 'cloud.sublimity.de',
'version': '25.0.8', 'version': '27.0.0',
'config': { 'config': {
'instanceid': 'oci6dw1woodz', 'instanceid': 'oci6dw1woodz',
'secret': '!decrypt:encrypt$gAAAAABj96CFynVtEgsje7173zjQAcY7xQG3uyf5cxE-sJAvhyPh_KUykTKdwnExc8NTDJ8RIGUmVfgC6or5crnYaggARPIEg5-Cb0xVdEPPZ3oZ01ImLmynLu3qXT9O8kVM-H21--OKeztMRn7bySsbXdWEGtETFQ==', 'secret': '!decrypt:encrypt$gAAAAABj96CFynVtEgsje7173zjQAcY7xQG3uyf5cxE-sJAvhyPh_KUykTKdwnExc8NTDJ8RIGUmVfgC6or5crnYaggARPIEg5-Cb0xVdEPPZ3oZ01ImLmynLu3qXT9O8kVM-H21--OKeztMRn7bySsbXdWEGtETFQ==',