shaker/proton/install.sls

57 lines
1.2 KiB
Plaintext
Raw Normal View History

2024-02-23 07:55:07 -05:00
include:
2024-02-24 09:34:27 -05:00
- proton.install_repo
2024-02-23 07:55:07 -05:00
{% if salt['pillar.get']('update_proxy:caching') %}
{% set proxy = 'cacher' %}
{% endif %}
{% if grains['nodename'] != 'dom0' %}
{% if grains['os_family']|lower == 'debian' %}
{% if grains['nodename']|lower != 'host' %}
{% if proxy == 'cacher' %}
{% for repo in salt['file.find']('/etc/apt/sources.list.d/', name='*list') %}
{{ repo }}_baseurl:
file.replace:
- name: {{ repo }}
- pattern: 'https://'
- repl: 'http://HTTPS///'
- flags: [ 'IGNORECASE', 'MULTILINE' ]
- backup: False
{% endfor %}
/etc/apt/sources.list:
file.replace:
- name: /etc/apt/sources.list
- pattern: 'https:'
- repl: 'http://HTTPS/'
- flags: [ 'IGNORECASE', 'MULTILINE' ]
- backup: False
{% endif %}
{% endif %}
{% endif %}
{% endif %}
2024-02-24 09:34:27 -05:00
set_locale:
cmd.run:
- name: |
sed -i s/# en_US.UTF-8/en_US.UTF-8/ /etc/locale.gen
locale-gen
2024-02-23 07:55:07 -05:00
proton_install:
pkg.installed:
2024-02-24 09:34:27 -05:00
- refresh: True
2024-02-23 07:55:07 -05:00
- skip_suggestions: True
- pkgs:
- qubes-core-agent-network-manager
- qubes-core-agent-networking
2024-02-24 09:34:27 -05:00
- qubes-core-agent-passwordless-root
2024-02-23 07:55:07 -05:00
- firefox-esr
- network-manager
2024-02-24 09:34:27 -05:00
- netcat-openbsd
- protonvpn
- openssh-client
- thunderbird-qubes
- wget