]> xn--ix-yja.es Git - alex.git/commitdiff
Add Steam
authoralex <alex@pdp7.net>
Fri, 15 Nov 2024 18:46:51 +0000 (19:46 +0100)
committeralexpdp7 <alex@corcoles.net>
Fri, 15 Nov 2024 18:48:06 +0000 (19:48 +0100)
personal_infra/puppet/modules/steam/manifests/init.pp [new file with mode: 0644]
personal_infra/puppet/site/hideo.mad.int.pdp7.net.pp

diff --git a/personal_infra/puppet/modules/steam/manifests/init.pp b/personal_infra/puppet/modules/steam/manifests/init.pp
new file mode 100644 (file)
index 0000000..ee164a2
--- /dev/null
@@ -0,0 +1,13 @@
+class steam {
+  file {'/var/lib/dpkg/arch':
+    content => @(EOT)
+    amd64
+    i386
+    | EOT
+    ,
+  }
+  ~>
+  Exec['/usr/bin/apt update']
+  ->
+  package {'steam-installer':}
+}
index 033c910fcbd2a7a60776b9a68b7136498ef7cdf0..0f453dd1f787e3e5e9034f4dc7d19079aea5c161 100644 (file)
@@ -1,5 +1,6 @@
 node 'hideo.mad.int.pdp7.net' {
   class {'workstation':}
   class {'incus':}
+  class {'steam':}
   package {['zfs-dkms', 'sanoid']:}
 }