Browse Source

Merge pull request #425 from noelmcloughlin/pkgrepo2

fix(os): pass pkgrepo state on unsupported os
tags/v0.58.2
Niels Abspoel 5 years ago
parent
commit
cb0219d0ce
No account linked to committer's email address
6 changed files with 22 additions and 0 deletions
  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 View File

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

+ 1
- 0
salt/pkgrepo/freebsd View File

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

+ 1
- 0
salt/pkgrepo/macos View File

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

+ 7
- 0
salt/pkgrepo/nop/clean.sls View File

@@ -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 View File

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

include:
- .install

+ 7
- 0
salt/pkgrepo/nop/install.sls View File

@@ -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'] }}

Loading…
Cancel
Save