mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2026-02-03 04:09:29 -05:00
Fixes an issue with Icinga Director Self-Service API, which ignored the defined service user
This commit is contained in:
parent
751e17f4c2
commit
94ec30ab8a
2 changed files with 6 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
|
|||
* [#685](https://github.com/Icinga/icinga-powershell-framework/pull/685) Fixes an issue while trying to stop the JEA process in certain cases, which results in an error during installation but has no other effect on the environment
|
||||
* [#686](https://github.com/Icinga/icinga-powershell-framework/pull/686) Fixes certutil error handling and message output in case the icingaforwindows.pfx could not be created
|
||||
* [#687](https://github.com/Icinga/icinga-powershell-framework/pull/687) Fixes Icinga for Windows port handling on installation, which will now use the proper defined port for communicating with the Icinga CA
|
||||
* [#702](https://github.com/Icinga/icinga-powershell-framework/pull/702) Fixes an issue with Icinga Director Self-Service API, which ignored the defined service user
|
||||
|
||||
### Enhancements
|
||||
|
||||
|
|
|
|||
|
|
@ -117,6 +117,10 @@ function Resolve-IcingaForWindowsManagementConsoleInstallationDirectorTemplate()
|
|||
$Ticket = '';
|
||||
$DirectorHostRegister = (Get-IcingaForWindowsInstallerStepSelection -InstallerStep 'Show-IcingaForWindowsManagementConsoleInstallationDirectorRegisterHost');
|
||||
|
||||
if ([string]::IsNullOrEmpty($ServiceUserName)) {
|
||||
$ServiceUserName = 'NT Authority\NetworkService';
|
||||
}
|
||||
|
||||
if ($null -eq $DirectorHostRegister) {
|
||||
$DirectorHostRegister = 0;
|
||||
}
|
||||
|
|
@ -245,6 +249,7 @@ function Resolve-IcingaForWindowsManagementConsoleInstallationDirectorTemplate()
|
|||
}
|
||||
|
||||
Show-IcingaForWindowsInstallationMenuEnterIcingaCAServer -Automated -Value $MasterAddress;
|
||||
Show-IcingaForWindowsInstallationMenuEnterIcingaAgentUser -Automated -Value $ServiceUserName;
|
||||
|
||||
Show-IcingaForWindowsInstallerMenuSelectCertificate -Automated -DefaultInput '1';
|
||||
Show-IcingaForWindowsInstallerMenuEnterIcingaTicket -Automated -Value $Ticket;
|
||||
|
|
|
|||
Loading…
Reference in a new issue