File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
profile/testdata/migration-home-legacy/profiles/default/stack Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ upload_safe_logs() {
101
101
local source=" $2 "
102
102
local target=" $3 "
103
103
104
- if ! ls ${source} 2>&1 > /dev/null ; then
105
- echo " upload_safe_logs: artifacts files not found, nothing will be archived"
104
+ if ! ls ${source} > /dev/null 2>&1 ; then
105
+ echo " upload_safe_logs: artifacts files not found at ${source} , nothing will be archived"
106
106
return
107
107
fi
108
108
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
- curl -s --cacert /usr/share/kibana/config/certs/ca-cert.pem -f https://localhost:5601/login | grep kbn-injected-metadata 2>&1 > /dev/null
5
+ curl -s --cacert /usr/share/kibana/config/certs/ca-cert.pem -f https://localhost:5601/login | grep kbn-injected-metadata > /dev/null
6
6
curl -s --cacert /usr/share/kibana/config/certs/ca-cert.pem -f -u elastic:changeme " https://elasticsearch:9200/_cat/indices/.security-*?h=health" | grep -v red
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ services:
91
91
kibana :
92
92
condition : service_healthy
93
93
healthcheck :
94
- test : " curl --cacert /etc/ssl/elastic-agent/ca-cert.pem -f https://localhost:8220/api/status | grep -i healthy 2>&1 >/dev/null"
94
+ test : " curl --cacert /etc/ssl/elastic-agent/ca-cert.pem -f https://localhost:8220/api/status | grep -i healthy >/dev/null"
95
95
start_period : 60s
96
96
interval : 5s
97
97
hostname : docker-fleet-server
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ NUMBER_SUCCESSES="$1"
6
6
WAITING_TIME=" $2 "
7
7
8
8
healthcheck () {
9
- curl -s --cacert /etc/ssl/certs/elastic-package.pem -f https://localhost:8220/api/status | grep -i healthy 2>&1 > /dev/null
9
+ curl -s --cacert /etc/ssl/certs/elastic-package.pem -f https://localhost:8220/api/status | grep -i healthy > /dev/null
10
10
}
11
11
12
12
# Fleet Server can restart after announcing to be healthy, agents connecting during this restart will
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
- curl -s --cacert /usr/share/kibana/config/certs/ca-cert.pem -f https://localhost:5601/login | grep kbn-injected-metadata 2>&1 > /dev/null
5
+ curl -s --cacert /usr/share/kibana/config/certs/ca-cert.pem -f https://localhost:5601/login | grep kbn-injected-metadata > /dev/null
6
6
curl -s --cacert /usr/share/kibana/config/certs/ca-cert.pem -f -u {{ fact " username" }}:{{ fact " password" }} " https://elasticsearch:9200/_cat/indices/.security-*?h=health" | grep -v red
You can’t perform that action at this time.
0 commit comments