mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-25 05:57:49 +02:00
remove old key/crt used for telegraf on non managers
This commit is contained in:
@@ -46,6 +46,17 @@ telegraf_key_perms:
|
|||||||
- mode: 640
|
- mode: 640
|
||||||
- group: 939
|
- group: 939
|
||||||
|
|
||||||
|
{% if not GLOBALS.is_manager %}
|
||||||
|
{# Prior to 2.4.220, minions used influxdb.crt and key for telegraf #}
|
||||||
|
remove_influxdb.crt:
|
||||||
|
file.absent:
|
||||||
|
- name: /etc/pki/influxdb.crt
|
||||||
|
|
||||||
|
remove_influxdb.key:
|
||||||
|
file.absent:
|
||||||
|
- name: /etc/pki/influxdb.key
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
{{sls}}_state_not_allowed:
|
{{sls}}_state_not_allowed:
|
||||||
|
|||||||
Reference in New Issue
Block a user