Merge branch 'dev' into foxtrot

This commit is contained in:
William Wernert
2021-07-29 15:15:25 -04:00
5 changed files with 25 additions and 12 deletions
@@ -49,6 +49,16 @@ discovery.seed_hosts:
- {{ SN.split('_')|first }}
{%- endfor %}
{%- endif %}
{%- elif grains.role == 'so-managersearch' %}
{%- if salt['pillar.get']('nodestab', {}) %}
node.roles: [ master, data, remote_cluster_client ]
discovery.seed_hosts:
- {{ grains.master }}
{%- for SN, SNDATA in salt['pillar.get']('nodestab', {}).items() %}
- {{ SN.split('_')|first }}
{%- endfor %}
{%- endif %}
node.attr.box_type: {{ NODE_ROUTE_TYPE }}
{%- else %}
node.roles: {{ NODE_ROLES }}
node.attr.box_type: {{ NODE_ROUTE_TYPE }}
+1 -1
View File
@@ -42,7 +42,7 @@ patch_os_schedule:
- function: state.sls
- job_args:
- patch.os
- hours: 8
- hours: {{ patch_os_pillar.get('hours', 8) }}
- splay: {{splay}}
- return_job: True