瀏覽代碼

Merge pull request #425 from noelmcloughlin/pkgrepo2

fix(os): pass pkgrepo state on unsupported os
tags/v0.58.2
Niels Abspoel 5 年之前
父節點
當前提交
cb0219d0ce
沒有連結到貢獻者的電子郵件帳戶。
共有 6 個檔案被更改,包括 22 行新增0 行删除
  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 查看文件

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

+ 1
- 0
salt/pkgrepo/freebsd 查看文件

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

+ 1
- 0
salt/pkgrepo/macos 查看文件

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

+ 7
- 0
salt/pkgrepo/nop/clean.sls 查看文件

@@ -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 查看文件

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

include:
- .install

+ 7
- 0
salt/pkgrepo/nop/install.sls 查看文件

@@ -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…
取消
儲存