BCFG2.CONF(5) | Bcfg2 | BCFG2.CONF(5) |
bcfg2.conf - Configuration parameters for Bcfg2
bcfg2.conf includes configuration parameters for the Bcfg2 server and client.
The file is INI-style and consists of sections and options. A section begins with the name of the sections in square brackets and continues until the next section begins.
Options are specified in the form "name=value".
The file is line-based each newline-terminated line represents either a comment, a section name or an option.
Any line beginning with a hash (#) is ignored, as are lines containing only whitespace.
These options are only necessary on the Bcfg2 server. They are specified in the [server] section of the configuration file.
inotify gamin pseudo
*~ *# #* *.swp *.swpx *.swx SCCS .svn 4913 .gitignore
ACL Bundler Bzr Cfg Cvs Darcs Decisions Defaults Deps FileProbes Fossil Git GroupLogic GroupPatterns Guppy Hg Ldap Metadata NagiosGen Ohai Packages Pkgmgr POSIXCompat Probes Properties PuppetENC Reporting Rules SEModules ServiceCompat SSHbase Svn TemplateHelper Trigger
Descriptions of each plugin can be found in their respective sections below.
cherrypy builtin best
The default is best, which is currently an alias for builtin. More details on the backends can be found in the official documentation.
This section has a listing of all the plugins currently provided with Bcfg2.
The ACL plugin controls which hosts can make which XML-RPC calls.
The Bundler plugin is used to describe groups of inter-dependent configuration entries, such as the combination of packages, configuration files, and service activations that comprise typical Unix daemons. Bundles are used to add groups of configuration entries to the inventory of client configurations, as opposed to describing particular versions of those entries.
The Bzr plugin allows you to track changes to your Bcfg2 repository using a GNU Bazaar version control backend. Currently, it enables you to get revision information out of your repository for reporting purposes.
The Cfg plugin provides a repository to describe configuration file contents for clients. In its simplest form, the Cfg repository is just a directory tree modeled off of the directory tree on your client machines.
The Cvs plugin allows you to track changes to your Bcfg2 repository using a Concurrent version control backend. Currently, it enables you to get revision information out of your repository for reporting purposes.
The Darcs plugin allows you to track changes to your Bcfg2 repository using a Darcs version control backend. Currently, it enables you to get revision information out of your repository for reporting purposes.
The Decisions plugin has support for a centralized set of per-entry installation decisions. This approach is needed when particular changes are deemed "high risk"; this gives the ability to centrally specify these changes, but only install them on clients when administrator supervision is available.
The Defaults plugin can be used to populate default attributes for entries. Defaults is not a Generator plugin, so it does not actually bind an entry; Defaults are applied after an entry has been bound, and only populate attributes that are not yet set.
The Deps plugin allows you to make a series of assertions like "Package X requires Package Y (and optionally also Package Z etc.)"
The FileProbes plugin allows you to probe a client for a file, which is then added to the Cfg specification. If the file changes on the client, FileProbes can either update it in the specification or allow Cfg to replace it.
The Fossil plugin allows you to track changes to your Bcfg2 repository using a Fossil SCM version control backend. Currently, it enables you to get revision information out of your repository for reporting purposes.
The Git plugin allows you to track changes to your Bcfg2 repository using a Git version control backend. Currently, it enables you to get revision information out of your repository for reporting purposes.
The GroupLogic plugin lets you flexibly assign group membership with a Genshi template.
The GroupPatterns plugin is a connector that can assign clients group membership based on patterns in client hostnames.
The Guppy plugin is used to trace memory leaks within the bcfg2-server process using Guppy.
The Hg plugin allows you to track changes to your Bcfg2 repository using a Mercurial version control backend. Currently, it enables you to get revision information out of your repository for reporting purposes.
The Ldap plugin makes it possible to fetch data from a LDAP directory, process it and attach it to your metadata.
The Metadata plugin is the primary method of specifying Bcfg2 server metadata.
The NagiosGen plugin dynamically generates Nagios configuration files based on Bcfg2 data.
The Ohai plugin is used to detect information about the client operating system. The data is reported back to the server using JSON.
The Packages plugin is an alternative to Pkgmgr for specifying package entries for clients. Where Pkgmgr explicitly specifies package entry information, Packages delegates control of package version information to the underlying package manager, installing the latest version available from through those channels.
The Pkgmgr plugin resolves the Abstract Configuration Entity "Package" to a package specification that the client can use to detect, verify and install the specified package.
The POSIXCompat plugin provides a compatibility layer for 1.3 POSIX Entries so that they are compatible with older clients.
The Probes plugin gives you the ability to gather information from a client machine before you generate its configuration. This information can be used with the various templating systems to generate configuration based on the results.
The Properties plugin is a connector plugin that adds information from properties files into client metadata instances.
The PuppetENC plugin is a connector plugin that adds support for Puppet External Node Classifiers.
The Reporting plugin enables the collection of data for use with Bcfg2's dynamic reporting system.
The Rules plugin provides literal configuration entries that resolve the abstract configuration entries normally found in Bundler. The literal entries in Rules are suitable for consumption by the appropriate client drivers.
The SEModules plugin provides a way to distribute SELinux modules via Bcfg2.
The ServiceCompat plugin converts service entries for older clients.
The SSHbase generator plugin manages ssh host keys (both v1 and v2) for hosts. It also manages the ssh_known_hosts file. It can integrate host keys from other management domains and similarly export its keys.
The Svn plugin allows you to track changes to your Bcfg2 repository using a Subversion backend. Currently, it enables you to get revision information out of your repository for reporting purposes.
The Trigger plugin provides a method for calling external scripts when clients are configured.
These options are specified in the [caching] section.
These options only affect client functionality. They can be specified in the [client] section.
Specified in the [communication] section. These options define settings used for client-server communication.
Specified in the [components] section.
e.g. bcfg2 = https://10.3.1.6:6789
Specified in the [logging] section. These options control the server logging functionality.
Specified in the [mdata] section. These options affect the default metadata settings for Paths with type='file'.
The following options are specified in the [packages] section.
The following options are specified in the [packages:yum] section.
The following options are specified in the [packages:pulp] section.
All other options in the [packages:yum] section will be passed along verbatim to the Yum configuration if you are using the native Yum library support.
These options allow for finer-grained control of the paranoid mode on the Bcfg2 client. They are specified in the [paranoid] section of the configuration file.
These options are necessary to configure the SSL CA feature of the Cfg plugin and can be found in the [sslca_default] section of the configuration file.
Server-only, specified in the [database] section. These options control the database connection of the server.
postgresql mysql sqlite3 ado_mssql
postgresql
mysql
sqlite3
ado_mssql If reporting_engine is not specified, the Reporting plugin uses the same database as the other server plugins.
November 4, 2014 | 1.4 |