kusu-genconfig(8)		   Kusu Base		     kusu-genconfig(8)



NAME
       kusu-genconfig - Kusu configuration file generator.

SYNOPSIS
       kusu-genconfig  [-h|-v|-d  database  -u	user -p password ] Plugin Plu-
       gin_args


DESCRIPTION
       Kusu-genconfig is a tool for querying the database to generate configu-
       ration files

       Kusu-genconfig  uses  a plugin mechanism.  Each plugin generates a dif-
       ferent output.  The base package has plugins for:

	      - debug	- provides debugging information.
	      - hosts	- Creates the /etc/hosts file
	      - hostspdsh    - Creates the hosts file for pdsh
	      - zone	     - Creates the DNS zone files
	      - named	     - DNS named.conf file
	      - nodegroups   - List of nodegroups
	      - bashrc	- .bashrc file for users
	      - nodes	     - List of nodes in the cluster
	      - apache_conf  - Config file for httpd.
	      - hostsequiv   - Creates the hosts.equiv file
	      - dhcpd	     - Creates the dhcpd.conf
	      - reverse	     - Creates the DNS reverse records
	      - ssh	     - Generates a ssh config file

       Other plugins will be provided by additional kits.

       The plugins may require additional  arguments  to  run.	 This  can  be
       determined by running: kusu-genconfig -h <Plugin>
       This will output the help text for that plugin.

OPTIONS
       -h <Optional Plugin>
	      If no plugin name is provided it will print the help information
	      and a list of all available plugins and exit.  If the  <Optional
	      Plugin>  is provided it will print the help information for that
	      plugin.

       Plugin
	      The name of the plugin to run.

       Plugin_args
	      Arguments that are needed by the plugin to operate.

       -v     Print the version information and exit.

       -d <Database>
	      Connect to an alternate database named <Database> to read infor-
	      mation from.  This option is not needed for normal use.


       -u <User>
	      Connect  to  an alternate database as user <User> to read
	      information from.	 This option is not needed  for	 normal
	      use.

       -p <Password>
	      Connect  to  an  alternate database using password <Pass-
	      word> to read  information  from.	  This	option	is  not
	      needed for normal use.

FILES
       /opt/kusu/lib/plugins/genconfig/*

AUTHORS
       Mark Black, <mblack_at_platform_dot_com>

SEE ALSO
       kusu-addhost(8), kusu-ngedit(8)



Mark Black			Version: 2.0.1		     kusu-genconfig(8)