mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Merge branch 'master' of https://github.com/Icinga/icinga-powershell-framework
This commit is contained in:
commit
f0b5dbd971
2 changed files with 14 additions and 1 deletions
|
|
@ -11,6 +11,15 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
|
|||
|
||||
[Issue and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/7?closed=1)
|
||||
|
||||
## 1.1.2 (2020-07-01)
|
||||
|
||||
[Issue and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/9?closed=1)
|
||||
|
||||
### Bugfixes
|
||||
|
||||
* [#74](https://github.com/Icinga/icinga-powershell-framework/issues/74) Disabling Agent features for last list item is not possible
|
||||
* [#75](https://github.com/Icinga/icinga-powershell-framework/issues/75) 'notification' feature is not disabled during installation
|
||||
|
||||
## 1.1.1 (2020-06-18)
|
||||
|
||||
[Issue and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/8?closed=1)
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ function Start-IcingaAgentInstallWizard()
|
|||
$AddGlobalTemplates = $null,
|
||||
[string]$PackageSource,
|
||||
[string]$AgentVersion,
|
||||
[string]$InstallDir,
|
||||
$AllowVersionChanges,
|
||||
$UpdateAgent = $null,
|
||||
$AddFirewallRule = $null,
|
||||
|
|
@ -79,6 +80,9 @@ function Start-IcingaAgentInstallWizard()
|
|||
$Result = Set-IcingaWizardArgument -DirectorArgs $DirectorArgs -WizardArg 'AgentVersion' -Value $AgentVersion -InstallerArguments $InstallerArguments;
|
||||
$AgentVersion = $Result.Value;
|
||||
$InstallerArguments = $Result.Args;
|
||||
$Result = Set-IcingaWizardArgument -DirectorArgs $DirectorArgs -WizardArg 'InstallDir' -Value $InstallDir -InstallerArguments $InstallerArguments;
|
||||
$InstallDir = $Result.Value;
|
||||
$InstallerArguments = $Result.Args;
|
||||
$Result = Set-IcingaWizardArgument -DirectorArgs $DirectorArgs -WizardArg 'CAPort' -Value $CAPort -InstallerArguments $InstallerArguments;
|
||||
$CAPort = $Result.Value;
|
||||
$InstallerArguments = $Result.Args;
|
||||
|
|
@ -540,7 +544,7 @@ function Start-IcingaAgentInstallWizard()
|
|||
}
|
||||
|
||||
if ($RunInstaller) {
|
||||
if ((Install-IcingaAgent -Version $AgentVersion -Source $PackageSource -AllowUpdates $AllowVersionChanges) -Or $Reconfigure) {
|
||||
if ((Install-IcingaAgent -Version $AgentVersion -Source $PackageSource -AllowUpdates $AllowVersionChanges -InstallDir $InstallDir) -Or $Reconfigure) {
|
||||
Reset-IcingaAgentConfigFile;
|
||||
Move-IcingaAgentDefaultConfig;
|
||||
Set-IcingaAgentNodeName -Hostname $Hostname;
|
||||
|
|
|
|||
Loading…
Reference in a new issue