From: Maximilian Friedersdorff Date: Mon, 22 Jul 2019 09:35:42 +0000 (+0100) Subject: Install firefox on all hosts X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=f181d1ff4d9fd91206360d15733d339a484b4efc;p=max%2Fsaltfiles.git Install firefox on all hosts --- diff --git a/states/firefox/gentoo.sls b/states/firefox/gentoo.sls new file mode 100644 index 0000000..bb2c7cf --- /dev/null +++ b/states/firefox/gentoo.sls @@ -0,0 +1,19 @@ +firefox useflags: + file.managed: + - name: /etc/portage/package.use/firefox-salt + - contents: + - www-client/firefox clang lto pgo -system-libvpx + - media-libs/libpng apnd + - dev-db/sqlite secure-delete + - sys-devel/llvm gold + - x11-base/xorg-server xvfb + - user: root + - group: root + - mode: 644 + +install firefox: + pkg.installed: + - name: www-client/firefox + - refresh: False + - require: + - file: firefox useflags diff --git a/states/firefox/init.sls b/states/firefox/init.sls new file mode 100644 index 0000000..cbbb5a0 --- /dev/null +++ b/states/firefox/init.sls @@ -0,0 +1,2 @@ +include: + - firefox.{{ grains['os'] | lower }} diff --git a/states/setup.sls b/states/setup.sls index ee913e7..6745a1c 100644 --- a/states/setup.sls +++ b/states/setup.sls @@ -2,3 +2,4 @@ include: - setup-{{ grains['os_family'] | lower }} - ntp - pass + - firefox