2017-05-03 09:21:43 -04:00
|
|
|
{%- if pillar.get('grafana', {}).get('collector', {}).get('enabled', False) %}
|
2016-10-22 06:30:30 -04:00
|
|
|
|
2017-04-29 03:37:32 -04:00
|
|
|
# This state is only used to map grains.collector pillar. Grains are now
|
|
|
|
# managed from salt.minion.grains so we will just include it in case it's
|
|
|
|
# executed explicitly
|
2016-10-22 06:30:30 -04:00
|
|
|
|
2017-04-29 03:37:32 -04:00
|
|
|
include:
|
|
|
|
- salt.minion.grains
|
2016-10-22 06:30:30 -04:00
|
|
|
|
|
|
|
{%- endif %}
|