Sandeep A.S wrote:
Hi
I am facing the following problem with "defaultroute " in
cfagent.conf.
Getting the following error:
/var/cfengine/inputs/cfagent.conf:Undefined action defaultroute in sequence
My relevent entries are:
control:
actionsequence = ( shellcommands links resolve defaultroute processes
editfiles files tidy )
defaultroute:
ipv4_192_168_128::
192.168.128.254
ipv4_192_168_130::
192.168.130.254
My intention is for the 192.168.128 network,cfengine should put
default gw as 192.168.128.254
and for the 1292.168.130 network cfengine should put gw as
192.168.130.254.
I tried the class without ipv4 also but no luck. I am running the
version 2.1.15
The problem is that you are improvising without reading the manual.
There is no actionsequence item called defaultroute.
--
Mark Burgess
Professor of Network and System Administration
Oslo University College
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: [EMAIL PROTECTED]
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine