Adds migration tasks for v1.13.5

This commit is contained in:
Lord Hepipud 2026-02-02 10:24:30 +01:00
parent b57665d0c4
commit abc5f46220

View file

@ -187,4 +187,14 @@ function Invoke-IcingaForWindowsMigration()
Set-IcingaForWindowsMigration -MigrationVersion (New-IcingaVersionObject -Version '1.13.4');
}
if (Test-IcingaForWindowsMigration -MigrationVersion (New-IcingaVersionObject -Version '1.13.5')) {
Write-IcingaConsoleNotice 'Applying pending migrations required for Icinga for Windows v1.13.5';
# Fixes potential permission issues with the Icinga Service User and the SeServiceLogonRight privilege
$ServiceUser = Get-IcingaServiceUser;
Set-IcingaUserPermissions -IcingaUser $ServiceUser;
Set-IcingaForWindowsMigration -MigrationVersion (New-IcingaVersionObject -Version '1.13.5');
}
}