aboutsummaryrefslogtreecommitdiff
path: root/personal_infra
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2024-10-03 21:27:27 +0200
committeralexpdp7 <alex@corcoles.net>2024-10-03 21:53:19 +0200
commit5444de9d19d3882425024f47b525316817d0672f (patch)
treef57c15e96b4fac69cf51ab54533a7e6d01c63df7 /personal_infra
parent67a5c912f385f68485ec8c16d32fa581c1ace4ad (diff)
Add workstation class, refactor
Diffstat (limited to 'personal_infra')
-rw-r--r--personal_infra/puppet/modules/workstation/manifests/init.pp3
-rw-r--r--personal_infra/puppet/site/hideo.mad.int.pdp7.net.pp1
-rw-r--r--personal_infra/puppet/site/ws.h1.int.pdp7.net.pp3
3 files changed, 6 insertions, 1 deletions
diff --git a/personal_infra/puppet/modules/workstation/manifests/init.pp b/personal_infra/puppet/modules/workstation/manifests/init.pp
new file mode 100644
index 00000000..cd72027a
--- /dev/null
+++ b/personal_infra/puppet/modules/workstation/manifests/init.pp
@@ -0,0 +1,3 @@
+class workstation {
+ package {['pipx', 'rclone', 'fuse', 'rsync', 'sshpass', 'bash-completion', 'python3-pip']:}
+}
diff --git a/personal_infra/puppet/site/hideo.mad.int.pdp7.net.pp b/personal_infra/puppet/site/hideo.mad.int.pdp7.net.pp
index cdd346bc..6b5734c6 100644
--- a/personal_infra/puppet/site/hideo.mad.int.pdp7.net.pp
+++ b/personal_infra/puppet/site/hideo.mad.int.pdp7.net.pp
@@ -1,2 +1,3 @@
node 'hideo.mad.int.pdp7.net' {
+ class {'workstation':}
}
diff --git a/personal_infra/puppet/site/ws.h1.int.pdp7.net.pp b/personal_infra/puppet/site/ws.h1.int.pdp7.net.pp
index 129795d9..5c381ee1 100644
--- a/personal_infra/puppet/site/ws.h1.int.pdp7.net.pp
+++ b/personal_infra/puppet/site/ws.h1.int.pdp7.net.pp
@@ -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':}
}