'master': { | 'master': { | ||||
'gitfs_provider': 'pygit2' | 'gitfs_provider': 'pygit2' | ||||
}, | }, | ||||
'repotype': 'epel', | |||||
}, | }, | ||||
'Suse': {}, | 'Suse': {}, | ||||
'Gentoo': { | 'Gentoo': { |
include: | include: | ||||
- .{{ grains['os']|lower }}.absent | |||||
- .{{ grains['os_family']|lower }}.absent |
{% set name = { | |||||
'RedHat': 'redhat', | |||||
'Debian': grains['os_family']|lower, | |||||
}.get(grains.os_family) %} | |||||
include: | include: | ||||
- .{{ name }} | |||||
- .{{ grains['os_family']|lower }} |
drop-saltstack-pkgrepo: | |||||
pkgrepo.absent: | |||||
- name: deb http://repo.saltstack.com/apt/ubuntu/{{ grains['lsb_distrib_release'] }}/amd64/latest {{ grains['lsb_distrib_codename'] }} main | |||||
- file: /etc/apt/sources.list.d/saltstack.list | |||||
- key_url: https://repo.saltstack.com/apt/ubuntu/{{ grains['lsb_distrib_release'] }}/amd64/latest/SALTSTACK-GPG-KEY.pub |
saltstack-pkgrepo: | |||||
pkgrepo.managed: | |||||
- name: deb https://repo.saltstack.com/apt/ubuntu/{{ grains['lsb_distrib_release'] }}/amd64/latest {{ grains['lsb_distrib_codename'] }} main | |||||
- file: /etc/apt/sources.list.d/saltstack.list | |||||
- key_url: https://repo.saltstack.com/apt/ubuntu/{{ grains['lsb_distrib_release'] }}/amd64/latest/SALTSTACK-GPG-KEY.pub |