Pārlūkot izejas kodu

Merge pull request #267 from fizmat/pkgrepo-cleanup

Pkgrepo cleanup
tags/v0.57.0
Brian Jackson pirms 8 gadiem
vecāks
revīzija
d68c0b63ee
6 mainītis faili ar 2 papildinājumiem un 17 dzēšanām
  1. +0
    -1
      salt/map.jinja
  2. +1
    -1
      salt/pkgrepo/absent.sls
  3. Binārs
      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 Parādīt failu

@@ -71,7 +71,6 @@ that differ from whats in defaults.yaml
'master': {
'gitfs_provider': 'pygit2'
},
'repotype': 'epel',
},
'Suse': {},
'Gentoo': {

+ 1
- 1
salt/pkgrepo/absent.sls Parādīt failu

@@ -1,2 +1,2 @@
include:
- .{{ grains['os']|lower }}.absent
- .{{ grains['os_family']|lower }}.absent

Binārs
salt/pkgrepo/debian/saltstack.gpg Parādīt failu


+ 1
- 5
salt/pkgrepo/init.sls Parādīt failu

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

+ 0
- 5
salt/pkgrepo/ubuntu/absent.sls Parādīt failu

@@ -1,5 +0,0 @@
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 Parādīt failu

@@ -1,5 +0,0 @@
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

Notiek ielāde…
Atcelt
Saglabāt