diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 72d7e9bd..990d86d0 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -42,9 +42,9 @@ jobs: run: | nodes="`curl -XGET "https://0.0.0.0:9200/_cat/nodes" -u admin:SecretPassword -k | grep -E "indexer" | wc -l`" if [[ $nodes -eq 1 ]]; then - echo "Cantidad de nodos: ${nodes}" + echo "Wazuh manager nodes: ${nodes}" else - echo "Cantidad de nodos: ${nodes}" + echo "Wazuh manager nodes: ${nodes}" exit 1 fi @@ -74,10 +74,10 @@ jobs: - name: Check Wazuh indexer nodes run: | nodes="`curl -XGET "https://0.0.0.0:9200/_cat/nodes" -u admin:SecretPassword -k | grep -E "indexer" | wc -l`" - if [[ $nodes -eq 1 ]]; then - echo "Cantidad de nodos: ${nodes}" + if [[ $nodes -eq 3 ]]; then + echo "Wazuh manager nodes: ${nodes}" else - echo "Cantidad de nodos: ${nodes}" + echo "Wazuh manager nodes: ${nodes}" exit 1 fi