From a1dff5b5ab0373c958a21a5986d8ceaa914038bd Mon Sep 17 00:00:00 2001 From: LordHepipud Date: Fri, 14 Jul 2023 19:23:44 +0200 Subject: [PATCH] Adds support for -RebuildCache flag on icinga cmd to rebuild component cache --- doc/100-General/10-Changelog.md | 1 + icinga-powershell-framework.psm1 | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/100-General/10-Changelog.md b/doc/100-General/10-Changelog.md index f64003ae..6a1f80c4 100644 --- a/doc/100-General/10-Changelog.md +++ b/doc/100-General/10-Changelog.md @@ -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) diff --git a/icinga-powershell-framework.psm1 b/icinga-powershell-framework.psm1 index d800e192..f09011ee 100644 --- a/icinga-powershell-framework.psm1 +++ b/icinga-powershell-framework.psm1 @@ -281,6 +281,7 @@ function Invoke-IcingaCommand() } if ($RebuildCache -Or $DeveloperMode) { + Copy-IcingaFrameworkCacheTemplate; Write-IcingaFrameworkCodeCache -DeveloperMode:$DeveloperMode; }