Browse Source

Merge pull request #267 from fizmat/pkgrepo-cleanup

Pkgrepo cleanup
tags/v0.57.0
Brian Jackson 8 years ago
parent
commit
d68c0b63ee
6 changed files with 2 additions and 17 deletions
  1. +0
    -1
      salt/map.jinja
  2. +1
    -1
      salt/pkgrepo/absent.sls
  3. BIN
      salt/pkgrepo/debian/saltstack.gpg
  4. +1
    -5
      salt/pkgrepo/init.sls
  5. +0
    -5
      salt/pkgrepo/ubuntu/absent.sls
  6. +0
    -5
      salt/pkgrepo/ubuntu/init.sls

+ 0
- 1
salt/map.jinja View File

'master': { 'master': {
'gitfs_provider': 'pygit2' 'gitfs_provider': 'pygit2'
}, },
'repotype': 'epel',
}, },
'Suse': {}, 'Suse': {},
'Gentoo': { 'Gentoo': {

+ 1
- 1
salt/pkgrepo/absent.sls View File

include: include:
- .{{ grains['os']|lower }}.absent
- .{{ grains['os_family']|lower }}.absent

BIN
salt/pkgrepo/debian/saltstack.gpg View File


+ 1
- 5
salt/pkgrepo/init.sls View File

{% set name = {
'RedHat': 'redhat',
'Debian': grains['os_family']|lower,
}.get(grains.os_family) %}
include: include:
- .{{ name }}
- .{{ grains['os_family']|lower }}

+ 0
- 5
salt/pkgrepo/ubuntu/absent.sls View File

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

+ 0
- 5
salt/pkgrepo/ubuntu/init.sls View File

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

Loading…
Cancel
Save