Skip to content

Commit cb0219d

Browse files
authored
Merge pull request #425 from noelmcloughlin/pkgrepo2
fix(os): pass pkgrepo state on unsupported os
2 parents 190998d + 4557976 commit cb0219d

File tree

6 files changed

+22
-0
lines changed

6 files changed

+22
-0
lines changed

salt/pkgrepo/arch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nop/

salt/pkgrepo/freebsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nop/

salt/pkgrepo/macos

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nop/

salt/pkgrepo/nop/clean.sls

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# -*- coding: utf-8 -*-
2+
# vim: ft=sls
3+
4+
salt-pkgrepo-clean-saltstack-norepo-{{ grains['os_family']|lower }}:
5+
test.show_notification:
6+
- text: |
7+
No official repository for {{ grains['os_family'] }}

salt/pkgrepo/nop/init.sls

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# -*- coding: utf-8 -*-
2+
# vim: ft=sls
3+
4+
include:
5+
- .install

salt/pkgrepo/nop/install.sls

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# -*- coding: utf-8 -*-
2+
# vim: ft=sls
3+
4+
salt-pkgrepo-install-saltstack-norepo-{{ grains['os_family']|lower }}:
5+
test.show_notification:
6+
- text: |
7+
No official repository for {{ grains['os_family'] }}

0 commit comments

Comments
 (0)