cert update is a forced update

This commit is contained in:
reyesj2
2025-12-02 15:16:59 -06:00
parent b0d9426f1b
commit 877444ac29
2 changed files with 2 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ so-elastic-fleet-auto-configure-logstash-outputs:
{# Separate from above in order to catch elasticfleet-logstash.crt changes and force update to fleet output policy #} {# Separate from above in order to catch elasticfleet-logstash.crt changes and force update to fleet output policy #}
so-elastic-fleet-auto-configure-logstash-outputs-force: so-elastic-fleet-auto-configure-logstash-outputs-force:
cmd.run: cmd.run:
- name: /usr/sbin/so-elastic-fleet-outputs-update --force --certs - name: /usr/sbin/so-elastic-fleet-outputs-update --certs
- retry: - retry:
attempts: 4 attempts: 4
interval: 30 interval: 30

View File

@@ -20,6 +20,7 @@ while [[ $# -gt 0 ]]; do
;; ;;
-c| --certs) -c| --certs)
UPDATE_CERTS=true UPDATE_CERTS=true
FORCE_UPDATE=true
shift shift
;; ;;
*) *)