Hi Ted,

On Thu, Jun 21, 2012 at 3:02 PM, Ted Zlatanov <t...@lifelogs.com> wrote:
> On Thu, 21 Jun 2012 14:17:53 +0200 Riccardo Murri <riccardo.mu...@uzh.ch> 
> wrote:
>
> RM> Would it be sensible to add a command-line switch to `cf-promises` to
> RM> force update of `masterfiles/cf_promises_validated` ?
>
> Would it work to just say "cf-promises ... && touch 
> masterfiles/cf_promises_validated"?

Thanks for the suggestion!

"cf_promises_validated" seems to contain the date of the last
successful validation, so maybe this one instead?

        cf-promises ... && (date +'%a %b %d %H:%M:%S %Y' >
masterfiles/cf_promises_validated)

(BTW, it seems that the default contents of `cf_promises_validated`
contain local time but without the time zone specification -- that's
why I added the format string above.)
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to