Skip to content

Commit

Permalink
fix(os): pass state on unsupported os
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Jul 29, 2019
1 parent 6a31254 commit 4557976
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions salt/pkgrepo/arch
1 change: 1 addition & 0 deletions salt/pkgrepo/freebsd
1 change: 1 addition & 0 deletions salt/pkgrepo/macos
7 changes: 7 additions & 0 deletions salt/pkgrepo/nop/clean.sls
Original file line number Diff line number Diff line change
@@ -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 changes: 5 additions & 0 deletions salt/pkgrepo/nop/init.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# -*- coding: utf-8 -*-
# vim: ft=sls

include:
- .install
7 changes: 7 additions & 0 deletions salt/pkgrepo/nop/install.sls
Original file line number Diff line number Diff line change
@@ -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'] }}

0 comments on commit 4557976

Please sign in to comment.