Support for Gentoolkit
salt.modules.gentoolkitmod.
eclean_dist
(destructive=False, package_names=False, size_limit=0, time_limit=0, fetch_restricted=False, exclude_file='/etc/eclean/distfiles.exclude')¶Clean obsolete portage sources
Returns a dict containing the cleaned, saved, and deprecated dists:
{'cleaned': {<dist file>: <size>},
'deprecated': {<package>: <dist file>},
'saved': {<package>: <dist file>},
'total_cleaned': <size>}
CLI 范例:
salt '*' gentoolkit.eclean_dist destructive=True
salt.modules.gentoolkitmod.
eclean_pkg
(destructive=False, package_names=False, time_limit=0, exclude_file='/etc/eclean/packages.exclude')¶Clean obsolete binary packages
Returns a dict containing the cleaned binary packages:
{'cleaned': {<dist file>: <size>},
'total_cleaned': <size>}
CLI 范例:
salt '*' gentoolkit.eclean_pkg destructive=True
salt.modules.gentoolkitmod.
glsa_check_list
(glsa_list)¶List the status of Gentoo Linux Security Advisories
Returns a dict containing glsa ids with a description, status, and CVEs:
{<glsa_id>: {'description': <glsa_description>,
'status': <glsa status>,
'CVEs': [<list of CVEs>]}}
CLI 范例:
salt '*' gentoolkit.glsa_check_list 'affected'
salt.modules.gentoolkitmod.
revdep_rebuild
(lib=None)¶Fix up broken reverse dependencies
CLI 范例:
salt '*' gentoolkit.revdep_rebuild