fix dupe ids

This commit is contained in:
m0duspwnens
2021-10-22 14:26:04 -04:00
parent f61400680d
commit 9f6407fcb0
3 changed files with 6 additions and 6 deletions

View File

@@ -141,7 +141,7 @@ so-filebeat:
- file: filebeatconf
- file: filebeatmoduleconf
- file: filebeatmoduledir
- x509: filebeat_crt
- x509: conf_filebeat_crt
- x509: conf_filebeat_key
- x509: trusttheca

View File

@@ -200,7 +200,7 @@ so-logstash:
- file: es_template_{{TEMPLATE.split('.')[0] | replace("/","_") }}
{% endfor %}
- require:
- x509: filebeat_crt
- x509: etc_filebeat_crt
{% if grains['role'] == 'so-heavynode' %}
- x509: trusttheca
{% else %}

View File

@@ -174,7 +174,7 @@ etc_filebeat_key:
- new: True
{% if salt['file.file_exists']('/etc/pki/filebeat.key') -%}
- prereq:
- x509: /etc/pki/filebeat.crt
- x509: etc_filebeat_crt
{%- endif %}
- timeout: 30
- retry:
@@ -182,7 +182,7 @@ etc_filebeat_key:
interval: 30
# Request a cert and drop it where it needs to go to be distributed
filebeat_crt:
etc_filebeat_crt:
x509.certificate_managed:
- name: /etc/pki/filebeat.crt
- ca_server: {{ ca_server }}
@@ -493,7 +493,7 @@ conf_filebeat_key:
- new: True
{% if salt['file.file_exists']('/opt/so/conf/filebeat/etc/pki/filebeat.key') -%}
- prereq:
- x509: filebeat_crt
- x509: conf_filebeat_crt
{%- endif %}
- timeout: 30
- retry:
@@ -501,7 +501,7 @@ conf_filebeat_key:
interval: 30
# Request a cert and drop it where it needs to go to be distributed
filebeat_crt:
conf_filebeat_crt:
x509.certificate_managed:
- name: /opt/so/conf/filebeat/etc/pki/filebeat.crt
- ca_server: {{ ca_server }}