Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/31-Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
* [#305](https://github.com/Icinga/icinga-powershell-framework/pull/305) Adds a new Cmdlet to test if functions with `Add-Type` are already present inside the current scope of the shell
* [#306](https://github.com/Icinga/icinga-powershell-framework/pull/306) Adds new Cmdlet `Exit-IcingaThrowCritical` to throw critical exit with a custom message, either by force or by using string filtering and adds storing of plugin exit codes internally
* [#314](https://github.com/Icinga/icinga-powershell-framework/pull/314) Adds support to configure on which address TCP sockets are created on, defaults to `loopback` interface
* [#316](https://github.com/Icinga/icinga-powershell-framework/pull/316) The reconfigure menu was previously present inside the Icinga Agent sub-menu and is now moved to the main installation menu for the Management Console

## 1.5.2 (2021-07-09)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function Show-IcingaForWindowsInstallerMenuInstallWindows()
[switch]$Advanced = $FALSE
);

if ($null -eq (Get-IcingaPowerShellConfig -Path 'Framework.Config.Swap')) {
if ($null -eq (Get-IcingaPowerShellConfig -Path 'Framework.Config.Swap') -And $null -eq (Get-IcingaPowerShellConfig -Path 'Framework.Config.Live')) {
Show-IcingaForWindowsInstallerMenuSelectConnection;
return;
}
Expand All @@ -22,9 +22,16 @@ function Show-IcingaForWindowsInstallerMenuInstallWindows()
'Help' = 'Start a new configuration and truncate all information stored on the current swap file. This will only modify your production if you hit "Start installation" at the end';
},
@{
'Caption' = 'Continue configuration';
'Command' = 'Show-IcingaForWindowsInstallerMenuContinueConfiguration';
'Help' = 'Continue with the previous configuration swap file.';
'Caption' = 'Continue configuration';
'Command' = 'Show-IcingaForWindowsInstallerMenuContinueConfiguration';
'Help' = 'Continue with the previous configuration swap file.';
'Disabled' = ([bool]($null -eq (Get-IcingaPowerShellConfig -Path 'Framework.Config.Swap')));
},
@{
'Caption' = 'Reconfigure Environment';
'Command' = 'Invoke-IcingaForWindowsManagementConsoleReconfigureAgent';
'Help' = 'Load the current configuration of Icinga for Windows to modify it.';
'Disabled' = ([bool]($null -eq (Get-IcingaPowerShellConfig -Path 'Framework.Config.Live')));
}
) `
-DefaultIndex $DefaultInput `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ function Show-IcingaForWindowsMenuManageIcingaAgent()
'Help' = 'Allows you to install Icinga for Windows with all required components and options';
'Disabled' = ($null -eq $IcingaService -Or (-Not $AdminShell));
},
@{
'Caption' = 'Reconfigure Installation';
'Command' = 'Invoke-IcingaForWindowsManagementConsoleReconfigureAgent';
'Help' = 'Load the current applied configuration for your Icinga Agent and modify the values';
'Disabled' = ($null -eq (Get-IcingaPowerShellConfig -Path 'Framework.Config.Live'));
},
@{
'Caption' = 'Read Icinga Agent Log File';
'Command' = 'Show-IcingaForWindowsMenuManageIcingaAgent';
Expand Down