fix templates not applying to searchnode. so-searchnode role doesnt exists searchnodes are so-node role

This commit is contained in:
m0duspwnens
2020-10-08 11:17:26 -04:00
parent 0f5f781024
commit e7abbf19af
3 changed files with 4 additions and 4 deletions

View File

@@ -390,7 +390,7 @@ fleetkeyperms:
- group: 939
{% endif %}
{% if grains['role'] in ['so-sensor', 'so-manager', 'so-node', 'so-searchnode', 'so-eval', 'so-helix', 'so-managersearch', 'so-heavynode', 'so-fleet', 'so-standalone', 'so-import'] %}
{% if grains['role'] in ['so-sensor', 'so-manager', 'so-node', 'so-eval', 'so-helix', 'so-managersearch', 'so-heavynode', 'so-fleet', 'so-standalone', 'so-import'] %}
fbcertdir:
file.directory:
@@ -527,7 +527,7 @@ fleetkeyperms:
{% endif %}
{% if grains['role'] in ['so-node', 'so-searchnode'] %}
{% if grains['role'] == 'so-node' %}
# Create a cert for elasticsearch
/etc/pki/elasticsearch.key:
x509.private_key_managed: