'clean_preferences_d': false, | 'clean_preferences_d': false, | ||||
'default_keyserver': 'pool.sks-keyservers.net', | 'default_keyserver': 'pool.sks-keyservers.net', | ||||
'default_url': 'http://deb.debian.org/debian/', | 'default_url': 'http://deb.debian.org/debian/', | ||||
'default_keyring_package': 'debian-archive-keyring', | |||||
'repositories': { | 'repositories': { | ||||
'sane_default': { | 'sane_default': { | ||||
'distro': distribution, | 'distro': distribution, | ||||
}, | }, | ||||
}, | }, | ||||
}, merge=salt['pillar.get']('apt:lookup'), default='Debian') %} | }, merge=salt['pillar.get']('apt:lookup'), default='Debian') %} | ||||
{% set sources_list_dir = apt.get('sources_list_dir', apt_map.sources_list_dir) %} | {% set sources_list_dir = apt.get('sources_list_dir', apt_map.sources_list_dir) %} | ||||
{% set repositories = apt.get('repositories', apt_map.repositories) %} | {% set repositories = apt.get('repositories', apt_map.repositories) %} | ||||
{% set default_url = apt.get('default_url', apt_map.default_url) %} | {% set default_url = apt.get('default_url', apt_map.default_url) %} | ||||
{% set keyring_package = apt.get('keyring_package', apt_map.default_keyring_package) %} | |||||
debian-archive-keyring: | |||||
{{ keyring_package }}: | |||||
pkg.installed | pkg.installed | ||||
/etc/apt/sources.list: | /etc/apt/sources.list: |
apt: | apt: | ||||
# Set the right keyring for the distro (ie ubuntu-keyring or ...) | |||||
keyring_package: debian-archive-keyring | |||||
remove_sources_list: true | remove_sources_list: true | ||||
clean_sources_list_d: true | clean_sources_list_d: true | ||||
03-all: | 03-all: | ||||
pin: release unstable | pin: release unstable | ||||
priority: 50 | priority: 50 | ||||