shaker/builder/install.sls

59 lines
1.2 KiB
Plaintext
Raw Normal View History

# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
2022-05-21 11:36:17 -04:00
{% if salt['qvm.exists']('cacher') %}
{% for repo in salt['file.find']('/etc/yum.repos.d/', name='*repo*') %}
{{ repo }}_baseurl:
file.replace:
- name: {{ repo }}
- pattern: 'baseurl=https://'
- repl: 'baseurl=http://HTTPS///'
- flags: [ 'IGNORECASE', 'MULTILINE' ]
{{ repo }}_metalink:
2022-05-21 11:36:17 -04:00
file.replace:
- name: {{ repo }}
- pattern: 'metalink=https://(.*)basearch'
- repl: 'metalink=http://HTTPS///\1basearch&protocol=http'
2022-05-21 11:36:17 -04:00
- flags: [ 'IGNORECASE', 'MULTILINE' ]
{% endfor %}
2022-05-21 11:36:17 -04:00
{% endif %}
2021-02-02 19:31:15 -05:00
install:
pkg.installed:
- pkgs:
- qubes-core-agent-networking
- qubes-core-agent-passwordless-root
- qubes-gpg-split
2021-02-02 19:31:15 -05:00
- aspell
- aspell-en
- createrepo_c
- createrepo_c-libs
- debootstrap
- devscripts
2021-02-02 19:31:15 -05:00
- dialog
- dpkg-dev
2022-05-21 11:36:17 -04:00
- fedora-packager
- fedora-review
2021-02-02 19:31:15 -05:00
- g++
- gcc
- git
- gitg
- gnupg
- m4
- make
- perl-Digest-MD5
- perl-Digest-SHA
2021-02-02 19:31:15 -05:00
- python3-pyyaml
- python3-sh
- re2c
- reprepro
- rpm-build
- rpm-sign
- rpmdevtools
- systemd-container
2021-02-02 19:31:15 -05:00
- texinfo
- wget
- vi
2021-02-02 19:31:15 -05:00
- zlib-devel