mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2026-02-18 18:18:16 -05:00
Adds migration tasks for v1.13.5
This commit is contained in:
parent
b57665d0c4
commit
abc5f46220
1 changed files with 10 additions and 0 deletions
|
|
@ -187,4 +187,14 @@ function Invoke-IcingaForWindowsMigration()
|
||||||
|
|
||||||
Set-IcingaForWindowsMigration -MigrationVersion (New-IcingaVersionObject -Version '1.13.4');
|
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');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue