paulbsd-salt/states/apt/init.sls

28 lines
564 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
apt-unauth:
file.append:
- name: /etc/apt/apt.conf.d/99-unauth
- text: 'APT::Get::AllowUnauthenticated "true";'
apt-aptitude-install:
pkg.latest:
- pkgs:
- aptitude
- apt-transport-https
#
# apt-upgrade:
# pkg.uptodate:
# - refresh: True
#
#apt-cacher-ng-proxy:
# file.managed:
# - name: /etc/apt/apt.conf.d/10proxy
# - source: salt://apt/10proxy.j2
# - user: root
# - group: root
# - mode: 0644
# - template: jinja
#
# apt-cacher-ng-proxy-delete:
# file.absent:
# - name: /etc/apt/apt.conf.d/10proxy