From 75e1ab0db477a435e8516f2e08d5e26932df600a Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 18 Feb 2022 22:37:20 +0100 Subject: [PATCH] home.rechenmonster: enable smartd, sort metadata --- nodes/home/rechenmonster.py | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/nodes/home/rechenmonster.py b/nodes/home/rechenmonster.py index 93572fb..74c30cb 100644 --- a/nodes/home/rechenmonster.py +++ b/nodes/home/rechenmonster.py @@ -1,10 +1,10 @@ nodes['home.rechenmonster'] = { 'hostname': '172.19.138.98', 'bundles': { - # 'smartd', 'basic', 'ipmitool', 'nfs-server', + 'smartd', 'systemd', 'systemd-networkd', 'systemd-timers', @@ -25,6 +25,18 @@ nodes['home.rechenmonster'] = { 'icinga_options': { 'exclude_from_monitoring': True, }, + 'nfs-server': { + 'shares': { + '/video': { + '172.19.138.0/24': 'ro,all_squash,anonuid=65534,anongid=65534,no_subtree_check', + }, + }, + }, + 'smartd': { + 'disks': { + '/dev/disk/by-id/wwn-0x50025385a01e0795', + }, + }, 'systemd-networkd': { 'bonds': { 'bond0': { @@ -41,22 +53,9 @@ nodes['home.rechenmonster'] = { }, }, }, - 'nfs-server': { - 'shares': { - '/video': { - '172.19.138.0/24': 'ro,all_squash,anonuid=65534,anongid=65534,no_subtree_check', - }, - }, - }, - 'smartd': { - 'disks': { - '/dev/disk/by-id/wwn-0x50025385a01e0795', - }, - }, 'users': { 'kunsi': { 'password': vault.decrypt('encrypt$gAAAAABgLmmuQGRUStrQawoPee-758emIYn2u8-8ebrgzNAFSp7ifeFDdXXvs-zL3QogwNYlCtBHboH2xfy1rSj6OF5bbNO-tg=='), - 'shell': '/usr/bin/fish', }, 'sophie': { 'password': vault.decrypt('encrypt$gAAAAABiEAyiedXL6ZnvelOMumhcB73X72SXZhjS_G0EDYVK5-NQ3_J_0h1W1HkFBNe5tShGNmg88jUiULRBn5u2IoiRGiDrYg=='),