mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2026-02-03 12:19:29 -05:00
Merge pull request #609 from Icinga:fix/do_not_use_set_if_true_on_icinga_config
Fix: Config generator should not use set_if = true We should nbever use `set_if` = true inside the Icinga Configuration or Director Baskets. This will result in the Icinga Director always flagging a certain object as modified.
This commit is contained in:
commit
b7de62069c
2 changed files with 7 additions and 4 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in a new issue