mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2026-02-03 04:09:29 -05:00
Fixes JEA compiler to always force a framework rebuild on update
This commit is contained in:
parent
854ef78f91
commit
d2bc75c6f4
2 changed files with 4 additions and 1 deletions
|
|
@ -11,6 +11,8 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
|
|||
|
||||
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/38)
|
||||
|
||||
* [#835](https://github.com/Icinga/icinga-powershell-framework/pull/835) Fixes JEA compiler to always enforce a rebuild of the Framework to ensure integrity of JEA profiles
|
||||
|
||||
## 1.13.4 (tbd)
|
||||
|
||||
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/42)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,8 @@ function Install-IcingaJEAProfile()
|
|||
}
|
||||
|
||||
Write-IcingaConsoleNotice 'Writing Icinga for Windows environment information as JEA profile';
|
||||
Write-IcingaJEAProfile -RebuildFramework:$RebuildFramework -AllowScriptBlocks:$AllowScriptBlocks;
|
||||
# Always rebuild the framework to ensure we have the latest configuration
|
||||
Write-IcingaJEAProfile -RebuildFramework -AllowScriptBlocks:$AllowScriptBlocks;
|
||||
Write-IcingaConsoleNotice 'Registering Icinga for Windows JEA profile';
|
||||
Register-IcingaJEAProfile -IcingaUser $IcingaUser -TestEnv:$TestEnv -ConstrainedLanguage:$ConstrainedLanguage;
|
||||
# We need to run the task renewal with our scheduled task to fix errors while using WinRM / SSH
|
||||
|
|
|
|||
Loading…
Reference in a new issue