mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Evaluate object rules (group assign) before and after creating objects with apply rules.
Refs #6105
This commit is contained in:
parent
309c8d7299
commit
3c2dae1804
@ -316,10 +316,13 @@ bool ConfigItem::ValidateItems(void)
|
|||||||
|
|
||||||
upq.Join();
|
upq.Join();
|
||||||
|
|
||||||
|
Log(LogInformation, "config", "Evaluating 'object' rules (step 1)...");
|
||||||
|
ObjectRule::EvaluateRules();
|
||||||
|
|
||||||
Log(LogInformation, "config", "Evaluating 'apply' rules...");
|
Log(LogInformation, "config", "Evaluating 'apply' rules...");
|
||||||
ApplyRule::EvaluateRules();
|
ApplyRule::EvaluateRules();
|
||||||
|
|
||||||
Log(LogInformation, "config", "Evaluating 'object' rules...");
|
Log(LogInformation, "config", "Evaluating 'object' rules (step 2)...");
|
||||||
ObjectRule::EvaluateRules();
|
ObjectRule::EvaluateRules();
|
||||||
|
|
||||||
Log(LogInformation, "config", "Validating config items (step 2)...");
|
Log(LogInformation, "config", "Validating config items (step 2)...");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user