Skip to content

Commit a1dff5b

Browse files
committed
Adds support for -RebuildCache flag on icinga cmd to rebuild component cache
1 parent 6220349 commit a1dff5b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

doc/100-General/10-Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
2626
* [#623](https://github.com/Icinga/icinga-powershell-framework/issues/623) Adds support to provide the Icinga service user written as `user@domain`
2727
* [#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`
2828
* [#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
29+
* [#643](https://github.com/Icinga/icinga-powershell-framework/pull/643) Adds support for `-RebuildCache` flag on `icinga` cmd to rebuild component cache as well
2930

3031
## 1.10.1 (2022-12-20)
3132

icinga-powershell-framework.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ function Invoke-IcingaCommand()
281281
}
282282

283283
if ($RebuildCache -Or $DeveloperMode) {
284+
Copy-IcingaFrameworkCacheTemplate;
284285
Write-IcingaFrameworkCodeCache -DeveloperMode:$DeveloperMode;
285286
}
286287

0 commit comments

Comments
 (0)