I am not completely up to date on the latest update.cf, there has been a lot of development there for Nova. If you think something is missing there, I would report to to support so it gets into the next release.
M Justin Lloyd wrote: > 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 ------------------------------------------------- _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine