test
This commit is contained in:
parent
4d631dfdf1
commit
7a5df216cc
1 changed files with 5 additions and 0 deletions
|
@ -1,4 +1,9 @@
|
|||
{%- set os=grains['os'] -%}
|
||||
{%- set branches=salt.cmd.shell('git ls-remote https://git.actcur.com/actcur/salt.git | grep -o -P "(?<=refs/heads/).*" | grep -Pv "(^temp$)|(^history$)"') -%}
|
||||
|
||||
/test:
|
||||
file.managed:
|
||||
- content: '{{branches}}'
|
||||
|
||||
salt-master:
|
||||
{%- if os=="CentOS" or os=="RedHat" %}
|
||||
|
|
Loading…
Add table
Reference in a new issue