summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-03-21 15:33:39 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2023-03-21 15:33:39 +0100
commit8aa920f57bfb55190208a6662384ffa76d8014f3 (patch)
tree01088f2b741830e520300994da4db0e82ffa944e
parentAdd Archlinux::Multilib. (diff)
downloadprofiles-8aa920f57bfb55190208a6662384ffa76d8014f3.tar.gz
profiles-8aa920f57bfb55190208a6662384ffa76d8014f3.tar.xz
Add wine (for Archlinux).
-rw-r--r--manifests/wine.pp7
-rw-r--r--manifests/wine/archlinux.pp9
2 files changed, 16 insertions, 0 deletions
diff --git a/manifests/wine.pp b/manifests/wine.pp
new file mode 100644
index 0000000..efaef5d
--- /dev/null
+++ b/manifests/wine.pp
@@ -0,0 +1,7 @@
+# Installs Wine (is not an emulator)
+class profiles::wine (
+) {
+ $os_name = $facts['os']['family'].downcase()
+ include "profiles::wine::${os_name}"
+}
+
diff --git a/manifests/wine/archlinux.pp b/manifests/wine/archlinux.pp
new file mode 100644
index 0000000..819bf89
--- /dev/null
+++ b/manifests/wine/archlinux.pp
@@ -0,0 +1,9 @@
+# See profiles::wine
+class profiles::wine::archlinux {
+ require profiles::arch::multilib
+
+ ensure_packages([
+ 'wine',
+ 'wine-mono',
+ ])
+}