mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Fixes Update-Icinga between snapshot/stable
This commit is contained in:
parent
417636a1e4
commit
9d388fd684
2 changed files with 1 additions and 12 deletions
|
|
@ -38,6 +38,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
|
||||||
* [#454](https://github.com/Icinga/icinga-powershell-framework/pull/454) Fixes JEA catalog compiler and background daemon execution in JEA context
|
* [#454](https://github.com/Icinga/icinga-powershell-framework/pull/454) Fixes JEA catalog compiler and background daemon execution in JEA context
|
||||||
* [#456](https://github.com/Icinga/icinga-powershell-framework/pull/456) Fixes JEA service error count not resetting itself after a certain amount of time without errors
|
* [#456](https://github.com/Icinga/icinga-powershell-framework/pull/456) Fixes JEA service error count not resetting itself after a certain amount of time without errors
|
||||||
* [#458](https://github.com/Icinga/icinga-powershell-framework/pull/458) Fixes `Install-IcingaSecurity` which should only run in an administrative shell
|
* [#458](https://github.com/Icinga/icinga-powershell-framework/pull/458) Fixes `Install-IcingaSecurity` which should only run in an administrative shell
|
||||||
|
* [#459](https://github.com/Icinga/icinga-powershell-framework/pull/459) Fixes `Update-Icinga` which was not working to downgrade snapshot packages pack to release (**NOTE:** It can still happen that migrations of the `Framework` might break your environment. Not recommended in production environments for the `Framework` component)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,10 +25,6 @@ function Get-IcingaInstallation()
|
||||||
[string]$LatestVersion = $InstallPackage.Package.Version;
|
[string]$LatestVersion = $InstallPackage.Package.Version;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ([string]::IsNullOrEmpty($LatestVersion) -eq $FALSE -And [Version]$LatestVersion -le [Version]$CurrentVersion) {
|
|
||||||
$LatestVersion = '';
|
|
||||||
}
|
|
||||||
|
|
||||||
Add-IcingaHashtableItem `
|
Add-IcingaHashtableItem `
|
||||||
-Hashtable $InstalledComponents `
|
-Hashtable $InstalledComponents `
|
||||||
-Key $ComponentName `
|
-Key $ComponentName `
|
||||||
|
|
@ -58,10 +54,6 @@ function Get-IcingaInstallation()
|
||||||
[string]$LatestVersion = $InstallPackage.Package.Version;
|
[string]$LatestVersion = $InstallPackage.Package.Version;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ([string]::IsNullOrEmpty($LatestVersion) -eq $FALSE -And [Version]$LatestVersion -le [Version]$CurrentVersion) {
|
|
||||||
$LatestVersion = '';
|
|
||||||
}
|
|
||||||
|
|
||||||
$InstalledComponents.Add(
|
$InstalledComponents.Add(
|
||||||
'service',
|
'service',
|
||||||
@{
|
@{
|
||||||
|
|
@ -89,10 +81,6 @@ function Get-IcingaInstallation()
|
||||||
$LatestVersion = $InstallPackage.Package.Version;
|
$LatestVersion = $InstallPackage.Package.Version;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ([string]::IsNullOrEmpty($LatestVersion) -eq $FALSE -And [Version]$LatestVersion -le [Version]$CurrentVersion) {
|
|
||||||
$LatestVersion = '';
|
|
||||||
}
|
|
||||||
|
|
||||||
$InstalledComponents.Add(
|
$InstalledComponents.Add(
|
||||||
'agent',
|
'agent',
|
||||||
@{
|
@{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue