- conditional now uses local variable
This commit is contained in:
parent
28c1764d98
commit
1ebae1cbcf
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue