paulbsd-salt/states/apt/init.sls

28 lines
564 B
Plaintext

---
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