Skip to content

Commit 3e86748

Browse files
committed
Fixes plugin installation if wizard arguments are set
Fixes #46
1 parent cfd28f3 commit 3e86748

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/core/icingaagent/misc/Start-IcingaAgentInstallWizard.psm1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,10 @@ function Start-IcingaAgentInstallWizard()
424424
} else {
425425
$InstallerArguments += "-InstallFrameworkPlugins 0";
426426
}
427+
} elseif ($InstallFrameworkPlugins -eq 1) {
428+
$result = Install-IcingaFrameworkPlugins -PluginsUrl $PluginsUrl;
429+
$InstallerArguments += "-InstallFrameworkPlugins 1";
430+
$InstallerArguments += "-PluginsUrl '$PluginsUrl'";
427431
}
428432

429433
if ($null -eq $InstallFrameworkService) {

0 commit comments

Comments
 (0)