salt.modules.poudriere
Support for poudriere
- 
Run bulk build on poudriere server.
Return number of pkg builds, failures, and errors, on error dump to CLI
CLI Example:
salt -N buildbox_group poudriere.bulk_build 90amd64 /root/pkg_list
 
salt.modules.poudriere.bulk_build(jail, pkg_file, keep=False)
- 
Creates a new poudriere jail if one does not exist
NOTE creating a new jail will take some time the master is not hanging
CLI Example:
salt '*' poudriere.create_jail 90amd64 amd64
 
salt.modules.poudriere.create_jail(name, arch, version='9.0-RELEASE')
- 
Not working need to run portfetch non interactive
 
salt.modules.poudriere.create_ports_tree()
- 
Deletes poudriere jail with name
CLI Example:
salt '*' poudriere.delete_jail 90amd64
 
salt.modules.poudriere.delete_jail(name)
- 
Return True if jail exists False if not
CLI Example:
salt '*' poudriere.is_jail <jail name>
 
salt.modules.poudriere.is_jail(name)
- 
Return a list of current jails managed by poudriere
CLI Example:
salt '*' poudriere.list_jails
 
salt.modules.poudriere.list_jails()
- 
Return a list of current port trees managed by poudriere
CLI Example:
salt '*' poudriere.list_ports
 
salt.modules.poudriere.list_ports()
- 
Make jail
jnamepkgng awareCLI Example:
salt '*' poudriere.make_pkgng_aware <jail name>
 
salt.modules.poudriere.make_pkgng_aware(jname)
- 
Returns a dict of poudriere main configuration definitions
CLI Example:
salt '*' poudriere.parse_config
 
salt.modules.poudriere.parse_config(config_file=None)
- 
Run freebsd-update on name poudriere jail
CLI Example:
salt '*' poudriere.update_jail freebsd:10:x86:64
 
salt.modules.poudriere.update_jail(name)
- 
Updates the ports tree, either the default or the ports_tree specified
CLI Example:
salt '*' poudriere.update_ports_tree staging
 
salt.modules.poudriere.update_ports_tree(ports_tree)
- 
Return poudriere version
CLI Example:
salt '*' poudriere.version
 
salt.modules.poudriere.version()
    © 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
    https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.poudriere.html