cf3: server port not alterable

Matt Richards <[email protected]> Mon, 22 Jun 2009 12:08:48 -0400
Newsgroups gmane.comp.sysutils.cfengine.bugs
Message-ID <[email protected]>
Seems the code does not support changing the default cfengine port
other than by changing the service name.

5.3.17 port

Type: int

Allowed input range: 1024,99999

Synopsis: Default port for cfengine server

Example:

body runagent control
{
port => "5308";
}

body server control
{
specialhost::
 port => "5308";

!specialhost::
 port => "5308";
}


Notes:

The standard or registered port number is tcp/5308. Cfengine does not
presently use its registered udp port with the same number, but this
could change in the future.

Changing the standard port number is not recommended practice. You
should not do it without a good reason.