From 68a4359a8c55b68d53e104fd73d60f152f4cd364 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 29 Aug 2020 21:11:19 +0200 Subject: [PATCH] nodes/doc.lon1.icinga2: use zfs for data volume --- nodes/doc/lon1/icinga2.py | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/nodes/doc/lon1/icinga2.py b/nodes/doc/lon1/icinga2.py index af651f3..6f19f89 100644 --- a/nodes/doc/lon1/icinga2.py +++ b/nodes/doc/lon1/icinga2.py @@ -1,12 +1,14 @@ nodes['doc.lon1.icinga2'] = { - 'bundles': set(), + 'bundles': { + 'zfs', + }, 'groups': { 'webserver', }, 'metadata': { 'apt': { 'repos': { - 'buster-backports': { + 'backports': { 'install_gpg_key': False, # default debian signing key 'items': [ 'deb http://deb.debian.org/debian buster-backports main', @@ -19,7 +21,17 @@ nodes['doc.lon1.icinga2'] = { 'icinga.franzi.business': {}, }, }, - 'os': 'debian', - 'os_release': 'buster', + 'zfs': { + 'pools': { + 'tank': { + 'device': '/dev/disk/by-id/scsi-0DO_Volume_volume-lon1-01-part1', + }, + }, + 'module_options': { + 'zfs_arc_max_mb': 0, + }, + }, }, + 'os': 'debian', + 'os_version': (10, 5), }