Merge pull request #81 from jfrog/azure-gov-callhome

ARM templates. Callhome is different if ARM template is installed in …
This commit is contained in:
John Peterson
2021-02-10 19:49:00 -08:00
committed by GitHub

View File

@@ -264,9 +264,16 @@ cat /tmp/temp.key | sed 's/KEY----- /&\n/' | sed 's/ -----END/\n-----END/' | awk
rm /tmp/temp.key
fi
if [[ "${LOCATION}" =~ $regex_location_gov ]] || [[ "${LOCATION}" =~ $regex_location_dod ]]; then
CALLHOME_SUFFIX=gov
else
CALLHOME_SUFFIX=template
fi
cat <<EOF >/var/opt/jfrog/artifactory/etc/info/installer-info.json
{
"productId": "ARM_artifactory-pro-template/1.0.0",
"productId": "ARM_artifactory-pro-${CALLHOME_SUFFIX}/1.0.0",
"features": [
{
"featureId": "Partner/ACC-007221"