]> xn--ix-yja.es Git - alex.git/commitdiff
Add workstation class, refactor
authoralex <alex@pdp7.net>
Thu, 3 Oct 2024 19:27:27 +0000 (21:27 +0200)
committeralexpdp7 <alex@corcoles.net>
Thu, 3 Oct 2024 19:53:19 +0000 (21:53 +0200)
personal_infra/puppet/modules/workstation/manifests/init.pp [new file with mode: 0644]
personal_infra/puppet/site/hideo.mad.int.pdp7.net.pp
personal_infra/puppet/site/ws.h1.int.pdp7.net.pp

diff --git a/personal_infra/puppet/modules/workstation/manifests/init.pp b/personal_infra/puppet/modules/workstation/manifests/init.pp
new file mode 100644 (file)
index 0000000..cd72027
--- /dev/null
@@ -0,0 +1,3 @@
+class workstation {
+  package {['pipx', 'rclone', 'fuse', 'rsync', 'sshpass', 'bash-completion', 'python3-pip']:}
+}
index cdd346bc55329fe82458711cec2158cf520b8c03..6b5734c6c86a64099a90ffca03d92cc3a2918664 100644 (file)
@@ -1,2 +1,3 @@
 node 'hideo.mad.int.pdp7.net' {
+  class {'workstation':}
 }
index 129795d9abece3209ca0636185251a0eef2ced44..5c381ee155b98d7b7d8b008b0e67f72dddfc9dc4 100644 (file)
@@ -4,7 +4,8 @@ node 'ws.h1.int.pdp7.net' {
     storage_driver => 'zfs',
   }
 
-  package {['pipx', 'isync', 'weechat', 'rclone', 'fuse', 'rsync', 'sshpass', 'bash-completion', 'gnutls-utils', 'python3-pip']:}
+  package {['isync', 'gnutls-utils']:}
 
+  class {'workstation':}
   class {'remote_desktop':}
 }