Skip to content

Commit e307583

Browse files
feat(formula): add metastate per community convention
1 parent 6a31254 commit e307583

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

docs/README.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ Available states
4545
.. contents::
4646
:local:
4747

48+
``salt``
49+
^^^^^^^^
50+
51+
*Meta-state (This is a state that includes other states)*.
52+
53+
This sets up a pkg repo (some OSes), and will run the
54+
minion, master, ssh, and formulas states.
55+
4856
``salt.minion``
4957
^^^^^^^^^^^^^^^
5058

salt/init.sls

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
base:
2+
'*':
3+
{%- if grains.os_family| lower not in ('macos',) %}
4+
{{'- salt.pkgrepo' if grains.os_family|lower not in ('suse', 'freebsd', 'macos') else '' }} #Is suse fixed yet?
5+
- salt.minion
6+
- salt.master
7+
- salt.ssh
8+
{%- endif %}
9+
- salt.formulas

0 commit comments

Comments
 (0)