qusal/salt/browser/install-chrome.sls

28 lines
616 B
Plaintext
Raw Normal View History

2023-11-13 09:33:28 -05:00
{#
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
2023-11-13 09:33:28 -05:00
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] != 'dom0' -%}
include:
- .install-chrome-repo
2023-11-13 09:33:28 -05:00
- .install-common
"{{ slsdotpath }}-avoid-chrome-installing-own-repo":
file.touch:
- name: /etc/default/google-chrome
"{{ slsdotpath }}-installed-chrome":
pkg.installed:
2024-06-28 05:28:04 -04:00
- require:
- sls: {{ slsdotpath }}.install-common
- sls: {{ slsdotpath }}.install-chrome-repo
2023-11-13 09:33:28 -05:00
- install_recommends: False
- skip_suggestions: True
- pkgs:
- google-chrome-stable
{% endif -%}