2019-08-05 06:39:30 -04:00
|
|
|
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
2022-05-15 10:36:33 -04:00
|
|
|
|
|
|
|
{% if grains['nodename'] != 'dom0' %}
|
|
|
|
|
2022-11-22 09:53:46 -05:00
|
|
|
include:
|
|
|
|
- cacher.mirrors
|
|
|
|
|
2019-08-05 06:39:30 -04:00
|
|
|
allow-testing:
|
|
|
|
file.uncomment:
|
|
|
|
- name: /etc/apt/sources.list.d/qubes-r4.list
|
|
|
|
- regex: ^deb\s.*qubes-os.org.*-testing
|
|
|
|
- backup: false
|
|
|
|
|
|
|
|
installed:
|
|
|
|
pkg.installed:
|
|
|
|
- pkgs:
|
|
|
|
- qubes-core-agent-networking
|
2022-09-02 08:15:52 -04:00
|
|
|
- anacron
|
2019-08-05 06:39:30 -04:00
|
|
|
- apt-cacher-ng
|
|
|
|
|
|
|
|
systemd-disable:
|
|
|
|
cmd.run:
|
|
|
|
- name: systemctl disable apt-cacher-ng
|
|
|
|
|
|
|
|
systemd-mask:
|
|
|
|
cmd.run:
|
|
|
|
- name: systemctl mask apt-cacher-ng
|
|
|
|
|
|
|
|
/etc/apt-cacher-ng/backends_debian:
|
|
|
|
file.prepend:
|
|
|
|
- text: https://deb.debian.org/debian
|
|
|
|
|
|
|
|
/etc/apt-cacher-ng/acng.conf:
|
|
|
|
file.managed:
|
|
|
|
- source:
|
|
|
|
- salt://cacher/acng.conf
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- makedirs: True
|
|
|
|
|
|
|
|
cp /lib/apt-cacher-ng/deb_mirrors.gz /etc/apt-cacher-ng/deb_mirrors.gz:
|
|
|
|
cmd.run:
|
|
|
|
- runas: root
|
|
|
|
|
2022-09-02 08:21:42 -04:00
|
|
|
/usr/lib/qubes-bind-dirs.d/30_cron.conf:
|
|
|
|
file.append:
|
|
|
|
- text: "binds+=( ' /etc/anacrontab' )"
|
|
|
|
|
2022-05-15 10:36:33 -04:00
|
|
|
{% endif %}
|