From a81a5e78cd153b2f374c89b8c9f45b7689450d35 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 28 Sep 2025 18:44:46 +0200 Subject: [PATCH] Do more wezterm things * Install on EL * Switch to nightly * Handle GPG properly in Debian 12 --- .../modules/basic_software/manifests/init.pp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/personal_infra/puppet/modules/basic_software/manifests/init.pp b/personal_infra/puppet/modules/basic_software/manifests/init.pp index 981636d..b44e980 100644 --- a/personal_infra/puppet/modules/basic_software/manifests/init.pp +++ b/personal_infra/puppet/modules/basic_software/manifests/init.pp @@ -10,6 +10,13 @@ class basic_software { } -> package {'emacs-nw':} + + copr {'wezterm-nightly': + user => 'wezfurlong', + dist => 'rhel-9', + } + -> + package {'wezterm':} } if ($facts['os']['family'] == 'Debian') { @@ -31,7 +38,7 @@ class basic_software { package {'mlocate':} } - file {'/usr/share/keyrings/wezterm-fury.gpg': + file {'/usr/share/keyrings/wezterm-fury.armored': content => @(EOT) -----BEGIN PGP PUBLIC KEY BLOCK----- @@ -88,6 +95,10 @@ class basic_software { | EOT , } + -> + exec {'/usr/bin/gpg --yes --dearmor -o /usr/share/keyrings/wezterm-fury.gpg '/usr/share/keyrings/wezterm-fury.gpg', + } ~> Exec["/usr/bin/apt update"] @@ -99,6 +110,6 @@ class basic_software { Exec["/usr/bin/apt update"] -> - package {'wezterm':} + package {'wezterm-nightly':} } } -- 2.47.3