2019-08-05 06:43:51 -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' %}
|
|
|
|
|
2024-06-09 09:34:11 -04:00
|
|
|
cacher_/rw/config/rc.local:
|
2019-08-05 06:43:51 -04:00
|
|
|
file.append:
|
2024-06-09 09:34:11 -04:00
|
|
|
- name: /rw/config/rc.local
|
2019-08-05 06:43:51 -04:00
|
|
|
- text: |
|
|
|
|
systemctl unmask apt-cacher-ng
|
|
|
|
systemctl start apt-cacher-ng
|
2024-02-12 18:28:11 -05:00
|
|
|
/usr/sbin/nft insert rule qubes custom-input tcp dport 8082 accept
|
2019-08-05 06:43:51 -04:00
|
|
|
|
2024-06-09 09:34:11 -04:00
|
|
|
cacher_/rw/config/qubes-firewall-user-script:
|
2019-08-05 06:43:51 -04:00
|
|
|
file.append:
|
2024-06-09 09:34:11 -04:00
|
|
|
- name: /rw/config/qubes-firewall-user-script
|
2024-02-12 18:28:11 -05:00
|
|
|
- text: /usr/sbin/nft insert rule qubes custom-input tcp dport 8082 accept
|
2019-08-05 06:43:51 -04:00
|
|
|
|
|
|
|
/rw/config/qubes-bind-dirs.d/50_user.conf:
|
|
|
|
file.managed:
|
|
|
|
- source:
|
|
|
|
- salt://cacher/50_user.conf
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- makedirs: True
|
2022-05-15 10:36:33 -04:00
|
|
|
|
|
|
|
{% endif %}
|