Bläddra i källkod

Merge pull request #425 from noelmcloughlin/pkgrepo2

fix(os): pass pkgrepo state on unsupported os
tags/v0.58.2
Niels Abspoel 5 år sedan
förälder
incheckning
cb0219d0ce
Inget konto är kopplat till bidragsgivarens mejladress
6 ändrade filer med 22 tillägg och 0 borttagningar
  1. +1
    -0
      salt/pkgrepo/arch
  2. +1
    -0
      salt/pkgrepo/freebsd
  3. +1
    -0
      salt/pkgrepo/macos
  4. +7
    -0
      salt/pkgrepo/nop/clean.sls
  5. +5
    -0
      salt/pkgrepo/nop/init.sls
  6. +7
    -0
      salt/pkgrepo/nop/install.sls

+ 1
- 0
salt/pkgrepo/arch Visa fil

@@ -0,0 +1 @@
nop/

+ 1
- 0
salt/pkgrepo/freebsd Visa fil

@@ -0,0 +1 @@
nop/

+ 1
- 0
salt/pkgrepo/macos Visa fil

@@ -0,0 +1 @@
nop/

+ 7
- 0
salt/pkgrepo/nop/clean.sls Visa fil

@@ -0,0 +1,7 @@
# -*- coding: utf-8 -*-
# vim: ft=sls

salt-pkgrepo-clean-saltstack-norepo-{{ grains['os_family']|lower }}:
test.show_notification:
- text: |
No official repository for {{ grains['os_family'] }}

+ 5
- 0
salt/pkgrepo/nop/init.sls Visa fil

@@ -0,0 +1,5 @@
# -*- coding: utf-8 -*-
# vim: ft=sls

include:
- .install

+ 7
- 0
salt/pkgrepo/nop/install.sls Visa fil

@@ -0,0 +1,7 @@
# -*- coding: utf-8 -*-
# vim: ft=sls

salt-pkgrepo-install-saltstack-norepo-{{ grains['os_family']|lower }}:
test.show_notification:
- text: |
No official repository for {{ grains['os_family'] }}

Laddar…
Avbryt
Spara