"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cf-serverd/cf-serverd-functions.c" between
cfengine-3.15.3.tar.gz and cfengine-3.15.4.tar.gz

About: CFEngine is a configuration management system for configuring and maintaining Unix-like computers (using an own high level policy language). Community version.

cf-serverd-functions.c  (cfengine-3.15.3):cf-serverd-functions.c  (cfengine-3.15.4)
skipping to change at line 442 skipping to change at line 442
* PolicyNew()+AcquireServerLock() // not here * PolicyNew()+AcquireServerLock() // not here
* PrepareServer(sd); // not here * PrepareServer(sd); // not here
* CollectCallStart(); // both * CollectCallStart(); // both
*/ */
EvalContextSetPolicyServerFromFile(ctx, GetWorkDir()); EvalContextSetPolicyServerFromFile(ctx, GetWorkDir());
UpdateLastPolicyUpdateTime(ctx); UpdateLastPolicyUpdateTime(ctx);
DetectEnvironment(ctx); DetectEnvironment(ctx);
GenericAgentDiscoverContext(ctx, config); GenericAgentDiscoverContext(ctx, config, NULL);
/* During startup this is done in GenericAgentDiscoverContext(). */ /* During startup this is done in GenericAgentDiscoverContext(). */
EvalContextClassPutHard(ctx, CF_AGENTTYPES[AGENT_TYPE_SERVER], "cfe_ internal,source=agent"); EvalContextClassPutHard(ctx, CF_AGENTTYPES[AGENT_TYPE_SERVER], "cfe_ internal,source=agent");
time_t t = SetReferenceTime(); time_t t = SetReferenceTime();
UpdateTimeClasses(ctx, t); UpdateTimeClasses(ctx, t);
/* TODO BUG: this modifies config, but previous config has not /* TODO BUG: this modifies config, but previous config has not
* been reset/free'd. Ideally we would want LoadPolicy to not * been reset/free'd. Ideally we would want LoadPolicy to not
* modify config at all, but only modify ctx. */ * modify config at all, but only modify ctx. */
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)