help-cfengine
[Top][All Lists]
Advanced

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

Autodefine


From: Josh Lothian
Subject: Autodefine
Date: Mon, 16 May 2005 09:27:50 -0400
User-agent: Mutt/1.5.6i

I'm having a problem getting AutoDefine to work.  Here's a sample:
----
control:
  actionsequence = ( copy shellcommands )
  singleCopy = ( on )
  restart_syslogd::
    autodefine = ( /etc/syslog.conf )
copy:
  any::
    ${local_config_root}/_etc_syslog.conf/$(os).$(osrel) dest=/etc/syslog.conf 
mode=0444 owner=0,0
    ${local_config_root}/_etc_syslog.conf/$(os) dest=/etc/syslog.conf mode=0444 
owner=0,0
    ${local_config_root}/_etc_syslog.conf/generic dest=/etc/syslog.conf 
mode=0444 owner=0,0
shellcommands:
  restart_syslogd::
    "/bin/echo restarting syslog"
----

The correct syslog.conf gets copied, however the restart_syslog class
is never defined.  Am I doing this correctly?  I googled and found a
short thread from about year ago with the same problem.

thanks much

-jkl




reply via email to

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