summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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',
+ ])
+}