diff --git a/bundles/zfs/items.py b/bundles/zfs/items.py index 4a6fffc..7084396 100644 --- a/bundles/zfs/items.py +++ b/bundles/zfs/items.py @@ -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() diff --git a/nodes/home.homeassistant.py b/nodes/home.homeassistant.py index c140bef..266c9e0 100644 --- a/nodes/home.homeassistant.py +++ b/nodes/home.homeassistant.py @@ -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,),