NAME

client - LCFG profile client

DESCRIPTION

The client profile component for LCFG. This component manages the rdxprof daemon which fetches system configuration protocols from the server (see lcfg-server).

ADDITIONAL METHODS

The run method sends a HUP to the daemon initiating a fetch of the profile.

The context method is called to change a "context" variable. Arguments of the form var=value cause the specified context variable to be set to the specified value. A context variable is removed by setting an empty value. The option -w before the context arguments can be used to block the method call until the context change is complete and all components have reconfigured.

The install method fetches and installs a profile from the URL specified as the first argument (default is the value in the current profile). The optional second argument specifies the filesystem root for the profile installation. Note that this method is designed for use at install time and does not honour the resources which specify rdxprof parameters for a client running as a normal daemon. In particular, it does not normally notify components of changes; however an optional -n argument can be specified as the first argument to the install method, which will be passed to rdxprof.

The reset method accepts a -a option whuch can be used to reset the flags for all the components.

RESOURCES

ack

Set this resource non-null to enable client acknowledgements (-a option to rdxprof.

acklimits

The acknowledge time limits -A for rdxprof.

components

A space-separated list of components to be notified when their resources change. The default value for this resource references the profile.components resource and sorts the entries according to the ng_cforder resources of the individual components. It is not normally necessary (and probably a mistake) to manually modify this resource.

debug

A set of rdxprof debug flags.

notify

Non-null for rdxprof to notify components of resource changes by calling the methods defined in the client.reconfig_component resources. (-n option).

poll

The poll (-p) argument for rdxprof.

rpminc

If this resource is non-null and specifies the pathname of a file which exists (at the time the profile is parsed), then a line will be added to the end of the rpmcfg file to include this file. This is useful for locally specifying additional RPMs.

runupdate component method

This resource specifies a method to run when the RPM list changes (rdxprof -U option). The method may be followed by any necessary options.

secure

The rdxprof -s option.

timeout

The HTTP request timeout interval for the rdxprof -t option.

url

The list of URL roots for the rdxprof -u option. The list may be space-separated (or comma-separated).

verbose

Non-null for rdxprof verbose logging.

warn

rdxprof warning flags.

xmldir

The xml directory for the -x option of rdxprof.

PLATFORMS

Solaris9, Fedora3, Darwin, Fedora5, Fedora6, Scientific5

AUTHOR

Paul Anderson <dcspaul@inf.ed.ac.uk>