- conditional now uses local variable

This commit is contained in:
dirkwall 2016-11-07 13:34:02 +01:00
parent 28c1764d98
commit 1ebae1cbcf
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ $server = $dynatrace['dynatrace_server']
$file = "/tmp/Dynatrace-OneAgent.sh"
if ($dynatrace['dynatrace_managed']) {
if ($managed) {
$url = "https://${server}/e/${tenant}/installer/agent/unix/latest/${token}/${tenant}"
}
else {

View File

@ -7,7 +7,7 @@ $server = $dynatrace['dynatrace_server']
$file = "/tmp/Dynatrace-Security-Gateway.sh"
if ($dynatrace['dynatrace_managed']) {
if ($managed) {
$url = "https://${server}/e/${tenant}/installer/sg/unix/latest/${token}/${tenant}"
}
else {