lcfg-client - LCFG profile client
The client profile component for LCFG. This component manages the rdxprof daemon which fetches system configuration protocols from the server (see lcfg-server).
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.
Set this resource non-null to enable client acknowledgements (-a option to rdxprof.
The acknowledge time limits -A for rdxprof.
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.
A set of rdxprof debug flags.
Non-null for rdxprof to notify components of resource changes by calling the methods defined in the client.reconfig_component resources. (-n option).
The poll (-p) argument for rdxprof.
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.
This resource specifies a method to run when the RPM list changes (rdxprof -U option). The method may be followed by any necessary options.
The rdxprof -s option.
The HTTP request timeout interval for the rdxprof -t option.
The list of URL roots for the rdxprof -u option. The list may be space-separated (or comma-separated).
Non-null for rdxprof verbose logging.
rdxprof warning flags.
The xml directory for the -x option of rdxprof.
Darwin, Fedora12, Scientific5
Paul Anderson <dcspaul@inf.ed.ac.uk>