Skip to content

Commit d057686

Browse files
author
NSSPKrishna
committed
chore(windows): Updated the windows recipes
1 parent f635a96 commit d057686

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

recipes/newrelic/infrastructure/windows.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,17 @@ install:
237237
"@
238238
239239
Add-Content -Path $InfraConfig -Value $customAttributes -Force -Encoding utf8
240+
241+
# Installation paths
242+
$NRIA_AGENT_DIR = "{{.NRIA_AGENT_DIR}}"
243+
if ($NRIA_AGENT_DIR) {
244+
Add-Content -Path $InfraConfig -Value "agent_dir: $NRIA_AGENT_DIR" -Force -Encoding utf8
245+
}
246+
247+
$NRIA_PLUGIN_DIR = "{{.NRIA_PLUGIN_DIR}}"
248+
if ($NRIA_PLUGIN_DIR) {
249+
Add-Content -Path $InfraConfig -Value "plugin_dir: $NRIA_PLUGIN_DIR" -Force -Encoding utf8
250+
}
240251
'
241252
242253
start_infra:

0 commit comments

Comments
 (0)