Components File Configuration

Configuration of all components is done via a python file containing a single dict with multiple (per component) sub-dicts. We will call it the components file. An example components file can get your started...

A Component’s Structure

A component is comprised of a set of key:value pairs. Each component has a set of mandatory parameters like name and version and of optional parameters like source_urls. Obviously, after processing, a component becomes a package...

A very simple example of a component’s configuration for riemann:

    "riemann": {
        "name": "riemann",
        "version": "0.2.2",
        "source_urls": [
        "depends": [
        "package_path": "{0}/riemann/".format(COMPONENT_PACKAGES_PATH),
        "sources_path": "{0}/riemann".format(PACKAGES_PATH),
        "dst_package_type": "deb"


  • *name* is the component’s name (DUH!). it’s used to create named directories and package file names mostly.
  • *version*, when applicable, is used to apply a version to the component’s package name (in the future, it might dictate the component’s version to download.)
  • *source_urls* is a list of package sources to download.
  • *depends* is a list of dependencies for the package (obviously only applicable to specific package types like debs and rpms.)
  • *package_path* is the path where the component’s package will be stored after the packaging process is complete for that same component.
  • *sources_path* is the path where the component’s parts (files, configs, etc..) will be stored before the component’s package is created.
  • *dst_package_type* is... well.. you know.

Additional Configuration Parameters

By default, a component can be comprised of a set of parameters, all of which (names) are configurable in the file (This is currently only available by editing the module directly). The file is not currently directly available to the user (as most of the parameters names are self-explanatory) but at a future version, a user will be able to override the parameter names by supplying an overriding file (to override all or some of the parameter names).

For the complete list of params, see the defintions file.