Evaluate object rules (group assign) before and after creating objects with apply rules.

Refs #6105
This commit is contained in:
Michael Friedrich 2014-05-01 23:51:42 +02:00
parent 309c8d7299
commit 3c2dae1804
1 changed files with 4 additions and 1 deletions

View File

@ -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)...");