From ccb0ba69d0b2e3fc137f9632381200979836147e Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 5 Oct 2024 11:38:55 +0200 Subject: [PATCH] Add Emacs --- .../puppet/modules/workstation/manifests/init.pp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/personal_infra/puppet/modules/workstation/manifests/init.pp b/personal_infra/puppet/modules/workstation/manifests/init.pp index c8e8d1a..56271e2 100644 --- a/personal_infra/puppet/modules/workstation/manifests/init.pp +++ b/personal_infra/puppet/modules/workstation/manifests/init.pp @@ -4,6 +4,19 @@ class workstation { if ($facts['os']['family'] == 'Debian') { package {['nextcloud-desktop']:} + file {'/etc/apt/preferences.d/90_emacs': + content => @(EOT) + Package: src:emacs + Pin: release n=bookworm-backports + Pin-Priority: 990 + | EOT + , + } + ~> + Exec["/usr/bin/apt update"] + -> + package {'emacs-nox':} + file {'/etc/apt/keyrings/packages.mozilla.org.asc': content => @(EOT) -----BEGIN PGP PUBLIC KEY BLOCK----- -- 2.47.3