diff --git a/dovecot/dovecot.sls b/dovecot/dovecot.sls index 16035c70f5e66f563f64ec2ec99c5e5d948be34b..2c54d7cff8eb8d0349410e1670f5a97740e42b57 100644 --- a/dovecot/dovecot.sls +++ b/dovecot/dovecot.sls @@ -1,11 +1,8 @@ -{% if grains['osfinger'] == "Debian-9" %} -include: - - apt.transport.https - +{% if grains['osfinger'] == "Debian-10" %} dovecot-repo: pkgrepo.managed: - humanname: dovecot - - name: deb https://repo.dovecot.org/ce-2.3-latest/debian/stretch stretch main + - name: deb https://repo.dovecot.org/ce-2.3-latest/debian/buster buster main - key_url: https://repo.dovecot.org/DOVECOT-REPO-GPG - file: /etc/apt/sources.list.d/dovecot.list - clean_file: true diff --git a/dovecot/init.sls b/dovecot/init.sls index 23533b871e65b3f930c718079cabf70f20e23392..b21d9f237dce7985e0cd7c90e81f569ead4cee91 100644 --- a/dovecot/init.sls +++ b/dovecot/init.sls @@ -1,4 +1,4 @@ -{% if grains['osfinger'] == "Debian-9" %} +{% if grains['osfinger'] == "Debian-10" %} {%- if 'dovecot' in salt['pillar.get']('roles', []) %} include: - .dovecot