I was approaching the problem from the opposite perspective, trying to keep everything within the Cfengine policy and not depend upon an external cron job. Ideally, I'd like to be able to eliminate the need for any non-standard cron jobs and have Cfengine handle everything. In the albeit unlikely event that the cron job disappears on one of your systems and the system is restarted, then it won't know to restart Cfengine.
On the other hand... As I was thinking through this reply and trying to anticipate further rebuttals to my approach, I started to realize that maybe going with the simpler cron approach might be worth the small risk I mentioned above. One example that came to mind is our near-future reimplementation of standardized syslog-ng throughout our environment. My original idea was to abstract and parameterize my SMF service management bundle so I could use it for cfengine, syslog-ng, etc. But I realized I could just have Cfengine manage the syslog-ng process (I've not used process promises yet) rather than creating another Solaris service. It does seem like a much cleaner approach in many ways. And one non-standard cron job isn't too bad if it keeps the policy and environment simpler. Thanks, Justin -----Original Message----- From: help-cfengine-boun...@cfengine.org [mailto:help-cfengine-boun...@cfengine.org] On Behalf Of fo...@cfengine.com Sent: Wednesday, March 31, 2010 1:53 PM To: help-cfengine@cfengine.org Subject: Cfengine Help: Re: How do you start cfengine? Forum: Cfengine Help Subject: Re: How do you start cfengine? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,13688,16734#msg-16734 In order to keep things as standard as possible I have one cronjob that runs cf-exed -F at an interval. A cf bundle ensures that this cronjob is always there and that cf-execd, cf-serverd and cf-monitord are running. This allows me to use virtually the same policy on AIX, Linux or Solaris hosts. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine 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