Adds support for -RebuildCache flag on icinga cmd to rebuild component cache

This commit is contained in:
LordHepipud 2023-07-14 19:23:44 +02:00
parent 6220349bc4
commit a1dff5b5ab
2 changed files with 2 additions and 0 deletions

View file

@ -26,6 +26,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
* [#623](https://github.com/Icinga/icinga-powershell-framework/issues/623) Adds support to provide the Icinga service user written as `user@domain`
* [#635](https://github.com/Icinga/icinga-powershell-framework/pull/635) Adds support for `Write-IcingaAgentApiConfig` function to configure the Icinga Agent TLS cipher list setting by new argument `-CipherList`
* [#640](https://github.com/Icinga/icinga-powershell-framework/issues/640) Adds support to set the flag `-NoSSLValidation` for Cmdlets `icinga` and `Install-Icinga`, to ignore errors on self-signed certificates within the environment
* [#643](https://github.com/Icinga/icinga-powershell-framework/pull/643) Adds support for `-RebuildCache` flag on `icinga` cmd to rebuild component cache as well
## 1.10.1 (2022-12-20)

View file

@ -281,6 +281,7 @@ function Invoke-IcingaCommand()
}
if ($RebuildCache -Or $DeveloperMode) {
Copy-IcingaFrameworkCacheTemplate;
Write-IcingaFrameworkCodeCache -DeveloperMode:$DeveloperMode;
}