libioc.Provisioning.ix module

ioc provisioner for ix-plugins.

class libioc.Provisioning.ix.PluginDefinition(name, logger)[source]

Bases: dict

ix-iocage-plugin definition.

property name

Return the ix-iocage-plugins name.

Return type

str

property url

Return the remote URL of the ix-iocage-plugins definition file.

Return type

str

exception libioc.Provisioning.ix.PluginUnavailableError(name, reason, logger=None)[source]

Bases: libioc.errors.IocException

Raised when an iX iocage plugin is not available.

libioc.Provisioning.ix.provision(self, event_scope=None)[source]

Provision the jail from an ix-iocage-plugin.

Installable ix-iocage plugins can be found on the registry repository https://github.com/freenas/iocage-ix-plugins/ and may be configured as a jails provision.source property, e.g.:

ioc set provision.method=ix provision.source=jenkins myjail

Return type

Generator[IocEvent, None, None]