nnss_progfigsite.inventory

Inventory module.

Must call progfiguration.sitewrapper.set_progfigsite_by_module_name() in this module.

May use helper functions like progfiguration.sitehelpers.invconf.hosts_conf() and progfiguration.sitehelpers.invconf.secrets_conf() to create the hoststore and secretstore.

Attributes

hoststore

The site's inventory

secretstore

The method for storing secrets.

Functions

mint_version(→ str)

Mint a new version number

Module Contents

nnss_progfigsite.inventory.hoststore

The site’s inventory

nnss_progfigsite.inventory.secretstore

The method for storing secrets.

nnss_progfigsite.inventory.mint_version() str

Mint a new version number

This function is called by progfiguration core to generate a version number. It may be called by site-specific code as well. It should return a string that is a valid pip version number. (If you are also building other packages like RPMs, make sure to use a version number that is valid for all of them.)