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
_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine