浏览代码

fix(os): pass state on unsupported os

tags/v0.58.2
N 5 年前
父节点
当前提交
455797675c
没有帐户链接到提交者的电子邮件
共有 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'] }}

正在加载...
取消
保存