Last active
July 31, 2024 21:46
-
-
Save MTecknology/33bbeeabdedda32bce54fbaf75479ffe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OS: Wrapper for os-finger that supports {if os.debian}..{endif} | |
{% set osfinger = salt.grains.get('osfinger', '') %} | |
{% set os = { | |
'debian': 'Debian' in osfinger, | |
'ubuntu': 'Ubuntu' in osfinger, | |
} %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% from 'basics/map.jinja' import os %} | |
{% if os.ubuntu %} | |
include: | |
- apt.repos.chromium-ppa | |
- apt.repos.mozilla-ppa | |
{% endif %} | |
common-desktop-apps: | |
pkg.installed: | |
- pkgs: | |
- chromium{% if os.ubuntu %}-browser{% endif %} | |
- firefox-esr | |
- gimp | |
- keepassxc | |
- mesa-utils | |
- simple-scan | |
- terminator | |
- zathura | |
- zenity | |
{% if os.ubuntu %} | |
- require: | |
- file: apt-repo-chromium-ppa | |
- file: apt-repo-mozilla-ppa | |
{% endif %} | |
- require_in: | |
- file: provisioned |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% from 'basics/map.jinja' import os %} | |
dictionaries: | |
pkg.installed: | |
- names: | |
- util-linux-locales | |
- aspell | |
- ispell | |
# English | |
- manpages | |
- aspell-en | |
- iamerican | |
- ibritish | |
# Spanish | |
- manpages-es{% if os['ubuntu'] %}-extra{% endif %} | |
- aspell-es | |
- ispanish | |
- wspanish | |
# French | |
- manpages-fr | |
- aspell-fr | |
- ifrench-gut | |
- wfrench | |
# German | |
- manpages-de | |
- aspell-de | |
- aspell-de-1901 | |
- ingerman | |
- iogerman | |
- iswiss | |
- wngerman |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment