mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Fixes type question during Agent installation on Windows 2012 R2
Fixes #90
This commit is contained in:
parent
8798ad890d
commit
6a36a8ba5e
2 changed files with 2 additions and 1 deletions
|
|
@ -29,6 +29,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
|
|||
* [#84](https://github.com/Icinga/icinga-powershell-framework/issues/84), Fix conversion of `ConvertTo-Seconds` and `ConvertTo-SecondsFromIcingaThresholds` while the input value is `$null`
|
||||
* [#85](https://github.com/Icinga/icinga-powershell-framework/issues/85), Fix incorrect handling to empty service user password which was configured as empty `String` instead of `$null` `SecureString` object
|
||||
* [#89](https://github.com/Icinga/icinga-powershell-framework/issues/89), Fix file type question during `Get-IcingaCheckCommandConfig` generation in Windows 2012 R2 and older
|
||||
* [#90](https://github.com/Icinga/icinga-powershell-framework/issues/90), Fix file type question during Icinga Agent installation on Windows 2012 R2 while using a custom installation target
|
||||
|
||||
## 1.1.2 (2020-07-01)
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ function Install-IcingaAgent()
|
|||
|
||||
if ([string]::IsNullOrEmpty($InstallDir) -eq $FALSE) {
|
||||
if ((Test-Path $InstallDir) -eq $FALSE) {
|
||||
New-Item -Path $InstallDir -Force | Out-Null;
|
||||
New-Item -Path $InstallDir -ItemType Directory -Force | Out-Null;
|
||||
}
|
||||
$InstallTarget = $InstallDir;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue