Fixes config generator to not use set_if = true

This commit is contained in:
Lord Hepipud 2023-03-08 13:45:56 +01:00
parent a71223f7d8
commit 5135989169
2 changed files with 7 additions and 4 deletions

View file

@ -14,6 +14,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
### Bugfixes
* [#603](https://github.com/Icinga/icinga-powershell-framework/issues/603) Fixed service filter to handle exclude with wildcards instead of requiring the full service name (*not* applying to the display name)
* [#609](https://github.com/Icinga/icinga-powershell-framework/issues/609) Fixed config generator to never use `set_if = true` on Icinga 2/Icinga Director configuration
## 1.10.1 (2022-12-20)

View file

@ -100,12 +100,14 @@ function Get-IcingaCheckCommandConfig()
@{
'arguments' = @{
'-NoProfile' = @{
'order' = '-3';
'set_if' = $TRUE;
'order' = '-3';
'skip_key' = $TRUE;
'value' = '-NoLogo';
};
'-NoLogo' = @{
'order' = '-2';
'set_if' = $TRUE;
'order' = '-2';
'skip_key' = $TRUE;
'value' = '-NoLogo';
};
'-ExecutionPolicy' = @{
'order' = '-1';