bcfg2-info(8) -- Creates a local version of the Bcfg2 server core for state observation ======================================================================================= ## SYNOPSIS `bcfg2-info` [<-C configfile>] [-E ] [-Q ] [-h] [-p] [-x ] [] [] [] ## DESCRIPTION `bcfg2-info` instantiates an instance of the Bcfg2 core for data examination and debugging purposes. ## OPTIONS * `-C` : Specify alternate bcfg2.conf location * `-E` : Specify the encoding of config files. * `-Q` : Specify the server repository path. * `-d`: Run in debug mode. * `-h`: Give a bit of help about the command line arguments and options. After this bcfg2-info exits. * `-p`: Specify a profile. * `-x` : Set the communication password. ## MODES * `build` : Build config for hostname, writing to filename. * `buildall` : Build configs for all clients in directory. * `buildallfile` []: Build config file for all clients in directory. * `buildbundle` : Build bundle for hostname (not written to disk). If filename is a bundle template, it is rendered. * `builddir` : Build config for hostname, writing separate files to dirname. * `buildfile` [--altsrc=] : Build config file for hostname (not written to disk). * `bundles`: Print out group/bundle information. * `clients`: Print out client/profile information. * `config`: Print out the configuration of the Bcfg2 server. * `debug`: Shell out to native python interpreter. * `event_debug`: Display filesystem events as they are processed. * `groups`: List groups. * `help`: Print the list of available commands. * `mappings` [] []: Print generator mappings for optional type and name. * `packageresolve` [...]: Resolve the specified set of packages. * `packagesources` : Show package sources. * `profile` : Profile a single bcfg2-info command. * `quit`: Exit bcfg2-info command line. * `showentries` : Show abstract configuration entries for a given host. * `showclient` : Show metadata for given hosts. * `update`: Process pending file events. * `version`: Print version of this tool. ## SEE ALSO bcfg2(1), bcfg2-server(8)