From 966b7d6a4d54f5a776d28d352fa5776c8837d814 Mon Sep 17 00:00:00 2001 From: Jonathan Zhang Date: Mon, 31 Jan 2022 20:02:27 -0800 Subject: [PATCH 1/2] add zfs packages, use backports --- bin/venv-update | 2 +- modules/ocf_mirrors/manifests/init.pp | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/venv-update b/bin/venv-update index 5bfde2760..a08726410 100755 --- a/bin/venv-update +++ b/bin/venv-update @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- '''\ usage: venv-update [-hV] [options] diff --git a/modules/ocf_mirrors/manifests/init.pp b/modules/ocf_mirrors/manifests/init.pp index 6f6627f67..dff525e23 100644 --- a/modules/ocf_mirrors/manifests/init.pp +++ b/modules/ocf_mirrors/manifests/init.pp @@ -36,6 +36,14 @@ include ocf_mirrors::projects::ubuntu_ports include ocf_mirrors::projects::videolan_ftp + package { + [ + 'linux-image-amd64', + 'zfsutils-linux', + ]: + install_options => ['-t', 'bullseye-backports'],; + } + package { [ 'prometheus-nginx-exporter', From 03407e81a2d197d8417186e2742089efa3f0b145 Mon Sep 17 00:00:00 2001 From: Jonathan Zhang Date: Mon, 31 Jan 2022 20:06:57 -0800 Subject: [PATCH 2/2] Update init.pp --- modules/ocf_mirrors/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ocf_mirrors/manifests/init.pp b/modules/ocf_mirrors/manifests/init.pp index dff525e23..e7ee3966d 100644 --- a/modules/ocf_mirrors/manifests/init.pp +++ b/modules/ocf_mirrors/manifests/init.pp @@ -40,7 +40,7 @@ [ 'linux-image-amd64', 'zfsutils-linux', - ]: + ]: install_options => ['-t', 'bullseye-backports'],; }