Support for Debconf
salt.modules.debconfmod.
get_selections
(fetchempty=True)Answers to debconf questions for all packages in the following format:
{'package': [['question', 'type', 'value'], ...]}
CLI Example:
salt '*' debconf.get_selections
salt.modules.debconfmod.
set_
(package, question, type, value, *extra)Set answers to debconf questions for a package.
CLI Example:
salt '*' debconf.set <package> <question> <type> <value> [<value> ...]
salt.modules.debconfmod.
set_file
(path, saltenv='base', **kwargs)Set answers to debconf questions from a file.
CLI Example:
salt '*' debconf.set_file salt://pathto/pkg.selections
salt.modules.debconfmod.
set_template
(path, template, context, defaults, saltenv='base', **kwargs)Set answers to debconf questions from a template.
location of the file containing the package selections
template format
variables to add to the template environment
default values for the template environment
CLI Example:
salt '*' debconf.set_template salt://pathto/pkg.selections.jinja jinja None None
Generated on August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy