Forum: Cfengine Help
Subject: Re: still trying to set a persistent class. help, please?
Author: bbomgardner
Link to topic: https://cfengine.com/forum/read.php?3,22054,22071#msg-22071

I can't get this to work either.  The ref guide says that persistent classes 
get put into state/cf_state.tcdb.  (I don't have this file, only 
state/cf_state.db. The doc may not have been updated.)

Anyway, when I test this my cf_state.db does not get updated at all.  Does 
yours do the same?

I can see in GetClassDefinitionConstraints where persist_time and timer_policy 
are obtained, and I know that NewPersistentContext is where the state is 
actually set, but I am not very familiar with the cf3 code to understand where 
to look for the any breakdown in this process.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to