Forum: Cfengine Help Subject: Re: still trying to set a persistent class. help, please? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,22054,22072#msg-22072
state/cf_state.tcdb and tate/cf_state.db are the same file. The latter is the BDB version and the former is Tokyo Cabinet. Oddly verbose output shows this line: community> Skipping whole next promise (Presist class set Thu May 19 10:34:13 2011), as context a_persistent_class is not relevant I'm very confused. nwatson@unxxhd01 inputs]$ cat persistent.cf body common control { bundlesequence => { "test" }; inputs => {"library.cf", "cfengine_stdlib.cf"}; } bundle agent test { classes: foo:: "a_persistent_class" comment => "Set a custom persistent class based on built-in classes", expression => "linux|solaris", classes => persist_for_ten_minutes; reports: a_persistent_class:: "Presist class set $(sys.date)"; } body classes persist_for_ten_minutes { persist_time => "10"; } $ cf-agent -KIf ./persistent.cf -D foo R: Presist class set Thu May 19 10:36:03 2011 $ cf-agent -KIf ./persistent.cf $ cf-agent -KIf ./persistent.cf I would expect the report to be repeated during each run as they were only a few seconds apart. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine