no-re...@cfengine.com writes:

> Persistence for the sake of it.  I can't argue that.  Perhaps attempt
> the wget command, and upon failure set a persistent class.  However, I
> can't see much benefit to this versus using ifelapsed to limit my wget
> promise to once every four hours.

Yeah, that may very well be the way to go. But let me ask the question
in a more simplified manner... Say that I have a class:

  classes:
    "foo" expression => fileexists("/tmp/foo");

How would I make this class persist for 2 hours, if I wanted it?

I'm starting to think that class persistence is a beast that should be
avoided alltogether. There aren't many examples around and documentation
is scarse :/

Cheers,
-- 
Trond H. Amundsen <t.h.amund...@usit.uio.no>
Center for Information Technology Services, University of Oslo
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to