diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-03-21 15:33:39 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-03-21 15:33:39 +0100 |
commit | 8aa920f57bfb55190208a6662384ffa76d8014f3 (patch) | |
tree | 01088f2b741830e520300994da4db0e82ffa944e /manifests | |
parent | Add Archlinux::Multilib. (diff) | |
download | profiles-8aa920f57bfb55190208a6662384ffa76d8014f3.tar.gz profiles-8aa920f57bfb55190208a6662384ffa76d8014f3.tar.xz |
Add wine (for Archlinux).
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/wine.pp | 7 | ||||
-rw-r--r-- | manifests/wine/archlinux.pp | 9 |
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', + ]) +} |