From fe722cb2a48c074eb7e2739c5052a28d4aa97d56 Mon Sep 17 00:00:00 2001 From: Andrew Moss <1043609+amoss@users.noreply.github.com> Date: Tue, 31 Mar 2020 13:07:24 +0200 Subject: Improve the behavior of claiming (#8516) The default cloud url has been updated to app.netdata.cloud ready for the release. The claiming process now checks the current user executing claiming and refuses to perform the claim for the wrong user. If the current UID is 0 then claiming proceeds but the file ownership is adjusted to be the correct netdata user. The default expected user is `netdata` unless the script can identify the user from the current configuration. After the claiming script is executed the CLI is used to reload the claiming state. --- tests/alarm_repetition/netdata.conf_with_repetition | 2 +- tests/alarm_repetition/netdata.conf_without_repetition | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/alarm_repetition/netdata.conf_with_repetition b/tests/alarm_repetition/netdata.conf_with_repetition index 5e02288dbf..d5d00f07da 100644 --- a/tests/alarm_repetition/netdata.conf_with_repetition +++ b/tests/alarm_repetition/netdata.conf_with_repetition @@ -54,4 +54,4 @@ allow from = * [cloud] - cloud base url = https://netdata.cloud + cloud base url = https://app.netdata.cloud diff --git a/tests/alarm_repetition/netdata.conf_without_repetition b/tests/alarm_repetition/netdata.conf_without_repetition index 80513ecb79..43518bdc00 100644 --- a/tests/alarm_repetition/netdata.conf_without_repetition +++ b/tests/alarm_repetition/netdata.conf_without_repetition @@ -54,4 +54,4 @@ allow from = * [cloud] - cloud base url = https://netdata.cloud + cloud base url = https://app.netdata.cloud -- cgit v1.2.3