help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copy action trigger another action


From: Alan Sparks
Subject: Re: copy action trigger another action
Date: 09 Jan 2003 12:13:14 -0700

If I read you right, that's what I do as standard practice.  I use a
define= on the copy action of a config file (ntp.conf, syslog.conf,
whatever) that trips a shellcommand for that class to do whatever is
necessary.

Works fine.
-Alan

On Thu, 2003-01-09 at 09:41, Nate Campi wrote:
> I'm interested in people's thoughts on whether it would be useful to
> have successful copies trigger an action. I'm thinking along the lines
> of sending a HUP to a daemon when it's config file is updated.
> 
> With most daemons it is fine to simply HUP every time cfagent runs, but
> with syslog-over-tcp my connections drop and have to restablish every
> time the syslog daemon is HUP'd. During the period that the connection
> is waiting to re-establish (one minute) the buffering logs might
> overflow and start getting dropped before being sent on to the loghost
> when the connection is re-established.
> 
> I'd imagine I could write a cfengine module to do this, but I'm not much
> of a programmer and would rather it was implemented in the core and done
> Right(tm).
> 
> Thoughts?
> -- 
> Nate Campi   http://www.campin.net 
> 
> "A round man cannot be expected to fit in a square hole right away. He 
> must have time to modify his shape." - Samuel Clemens
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cfengine
-- 
Alan Sparks, Sr. UNIX Administrator     address@hidden
Quris, Inc.                             (720) 836-2058





reply via email to

[Prev in Thread] Current Thread [Next in Thread]