Thanks, Mark. I actually thought about doing that and that's one of the things led me to notice that Cfengine restarts itself at 5 AM in process_matching.cf. However, since by default the process_matching bundle is evaluated before any of my custom bundles and in general it's not a good idea to mess with update.cf, I'd need to implement my own bundle.
So would it make sense just to essentially duplicate the cf_components variable and restart_cf processes promise from process_matching.cf? And is there a reason this "normal thing" wasn't included in update.cf? I just want to make sure I am not missing something in the logic. Justin -----Original Message----- From: Mark Burgess [mailto:mark.burg...@iu.hio.no] Sent: Friday, April 30, 2010 12:51 PM To: Justin Lloyd Cc: help-cfengine@cfengine.org Subject: Re: Restarting a daemon on all hosts The normal thing is to use cfengine to restart the pieces when the policy changes by seeing when a copy occurs from the policy server. Justin Lloyd wrote: > I'm running Cfengine Nova and I'm now going back to some measurements > promises I worked on a while back. I've now recalled that whenever > measurements promises change, cf-monitord needs to be restarted. So I'm > trying to determine how I can restart all of my hosts' cf-monitord > processes. > > One thought I had is to create an empty file on the policy server that > clients will pull down when they see it. Then, when a client detects the > local copy of the file, it restarts cf-monitord. > > Does that seem like a reasonable approach? Does anyone have alternate > suggestions? Or am I missing something? > > Thanks, > Justin > -- Mark Burgess ------------------------------------------------- Professor of Network and System Administration Oslo University College, Norway Personal Web: http://www.iu.hio.no/~mark Office Telf : +47 22453272 ------------------------------------------------- This electronic communication and any attachments may contain confidential and proprietary information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee responsible for delivering this communication to the intended recipient, or if you have received this communication in error, please do not print, copy, retransmit, disseminate or otherwise use the information. Please indicate to the sender that you have received this communication in error, and delete the copy you received. DigitalGlobe reserves the right to monitor any electronic communication sent or received by its employees, agents or representatives. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine