aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--personal_infra/puppet/modules/basic_software/manifests/init.pp17
-rw-r--r--personal_infra/puppet/modules/workstation/manifests/init.pp15
2 files changed, 17 insertions, 15 deletions
diff --git a/personal_infra/puppet/modules/basic_software/manifests/init.pp b/personal_infra/puppet/modules/basic_software/manifests/init.pp
index fdfaeabc..723f8a29 100644
--- a/personal_infra/puppet/modules/basic_software/manifests/init.pp
+++ b/personal_infra/puppet/modules/basic_software/manifests/init.pp
@@ -1,7 +1,22 @@
class basic_software {
- package {['less', 'mlocate', 'traceroute', 'nmap', 'tree', 'tar', 'screen', 'git', 'net-tools']:}
+ package {['less', 'mlocate', 'traceroute', 'nmap', 'tree', 'tar', 'screen', 'git', 'net-tools', 'pipx', 'rsync', 'bash-completion']:}
if($facts['os']['family'] == 'RedHat') {
package {'which':}
}
+
+ if ($facts['os']['family'] == 'Debian') {
+ 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':}
+ }
}
diff --git a/personal_infra/puppet/modules/workstation/manifests/init.pp b/personal_infra/puppet/modules/workstation/manifests/init.pp
index 7aee7c4b..82963bc2 100644
--- a/personal_infra/puppet/modules/workstation/manifests/init.pp
+++ b/personal_infra/puppet/modules/workstation/manifests/init.pp
@@ -1,22 +1,9 @@
class workstation {
- package {['pipx', 'rclone', 'rsync', 'sshpass', 'bash-completion', 'python3-pip', 'xclip']:}
+ package {['rclone', 'sshpass', 'python3-pip', 'xclip']:}
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-----