.TH "bcfg2" 1 .SH NAME bcfg2 \- reconfigure machine based on settings in BCFG2 .SH SYNOPSIS .B bcfg2 .I [-d] [-v] [-p] [-c cache file] [-e] [-f config file] [-I] [-q] [-b bundle] [-r removal mode] .SH DESCRIPTION .TP .BR bcfg2 Runs the bcfg2 configuration process on the current host. This process consists of first fetching and executing probes, uploading probe results, fetching the client configuration, checking the current client state, attempting to install the desired configuration, and finally uploading statistics about the bcfg2 execution and client state. .SH OPTIONS .TP .BR "\-A" Run in agent (continuous) mode, wait for reconfigure command from server. .TP .BR "\-C " Specify alternate bcfg2.conf location .TP .BR "\-D ," Specify a set of bcfg2 tool drivers. NOTE: only drivers listed will be loaded. (IE, if you don't include POSIX, you will be unable to verify/install ConfigFiles, etc) .TP .BR "\-E " Specify the encoding of Cfg files. .TP .BR "\-F " Specify the server fingerprint. .TP .BR "\-I" Run bcfg2 in interactive mode. The user will be prompted before each change. .TP .BR "\-K " Specify the path to the SSL key. .TP .BR "\-O" Omit lock check. .TP .BR "\-P" Run bcfg2 in paranoid mode. Diffs will be logged for configuration files marked as paranoid by the Bcfg2 server. .TP .BR "\-R " Specify the number of times that the client will attempt to retry network communication. .TP .BR "\-s " Set bcfg2 interaction level for services. Default behavior is to modify all services effected by reconfiguration. build mode attempts to stop all services started. disabled suppresses all attempts to modify services. .TP .BR "\-S https://server:port" Manually specify the server location (as opposed to using the value in bcfg2.conf). .TP .BR "\-b :" Run bcfg2 against one or multiple bundles in the configuration. .TP .BR "\-c " Cache a copy of the configuration in cachefile .TP .BR "\-d" Run bcfg2 in debug mode. .TP .BR "\-e" When in verbose mode, display extra entry information (temporary until verbosity rework) .TP .BR "\-f " Configure from a file rather than querying the server. .TP .BR "\-g " Allows you to specify which port to bind. .TP .BR "\-h" Print Usage information. .TP .BR "\-i" Daemonize the agent. .TP .BR "\-k" Run in bulletproof mode. This currently only effect behavior in the debian toolset; it calls apt-get update and clean and dpkg --configure --pending. .TP .BR "\-l " Run the client in the server decision list mode. This approach is needed when particular changes are deemed "high risk". It gives the ability to centrally specify these changes, but only install them on clients when administrator supervision is available. Because collaborative configuration is one of the remaining hard issues in configuration management, these issues typically crop up in environments with several administrators and much configuration variety. .TP .BR "\-n" Run bcfg2 in dry-run mode. No changes will be made to the system. .TP .BR "\-o " Writes a log to the specified path. .TP .BR "\-p " Assert a profile for the current client. .TP .BR "\-q" Run bcfg2 in quick mode. Package checksum verification won't be performed. This mode relaxes the constraints of correctness, and thus should only be used in safe conditions. .TP .BR "\-r " Cause bcfg2 to remove extra configuration elements it detects. Mode is one of all, Services, or Packages. All removes all entries. Likewise, Services and Packages remove only the extra configuration elements of the respective type. .TP .BR "\-u " Attempt to authenticate as 'user'. .TP .BR "\-x " Use 'password' for client communication. .TP .BR "\-v" Run bcfg2 in verbose mode. .RE .SH "SEE ALSO" .BR bcfg2-server(8), .BR bcfg2-info(8) .SH "BUGS"