This commit is contained in:
cronekorkn 2024-06-11 18:13:12 +02:00
parent 4ca7faba79
commit 8f1f646b3b
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw
2 changed files with 5 additions and 11 deletions

View file

@ -6,6 +6,7 @@ files = {
'/etc/cron.weekly/zfs-auto-snapshot': {'delete': True, 'needs': {'pkg_apt:zfs-auto-snapshot'}},
'/etc/cron.monthly/zfs-auto-snapshot': {'delete': True, 'needs': {'pkg_apt:zfs-auto-snapshot'}},
'/etc/modprobe.d/zfs.conf': {
'content_type': 'text',
'content': '\n'.join(
f'options zfs {k}={v}'
for k, v in node.metadata.get('zfs/kernel_params').items()

View file

@ -2,6 +2,10 @@
'hostname': '10.0.0.16',
'groups': [
'webserver',
'backup',
'monitored',
'raspberry-pi',
'autologin',
],
'bundles': [
'apt',
@ -14,9 +18,7 @@
'sudo',
'locale',
'zsh',
'monitored',
'zfs',
'backup',
'systemd',
'systemd-timers',
'systemd-journald',
@ -65,12 +67,6 @@
},
},
},
'telegraf': {
'influxdb_node': 'home.server',
},
'monitoring': {
'icinga2_node': 'home.server',
},
'hosts': {
'10.0.11.3': [
'resolver.name',
@ -108,9 +104,6 @@
},
},
'os_codename': 'bookworm',
'system': {
'architecture': 'arm64',
},
},
'os': 'debian',
'os_version': (12,),