2
0
salt-formula/salt/pkgrepo/debian/clean.sls
Javier Bértoli 47ab261b39 fix(debian,ubuntu): rename repo file to match documentation
Also:

* add keyring file for the salt repo, due to `apt-key` deprecation
* remove old repository file
2021-09-17 15:50:54 -03:00

14 lines
375 B
Plaintext

# -*- coding: utf-8 -*-
# vim: ft=sls
{% from "salt/map.jinja" import salt_settings with context %}
salt-pkgrepo-clean-saltstack-debian:
pkgrepo.absent:
- name: {{ salt_settings.pkgrepo }}
file.absent:
- name: /etc/apt/sources.list.d/salt.list
salt-pkgrepo-clean-saltstack-debian-apt-key:
file.absent:
- name: /usr/share/keyrings/salt-archive-keyring.gpg