salt.modules.debconfmod

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin execution modules »

# salt.modules.debconfmod

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)

  Set answers to debconf questions from a file.

  CLI Example:

      salt '*' debconf.set_file salt://pathto/pkg.selections

`salt.modules.debconfmod.` `show`(name)

  Answers to debconf questions for a package in the following format:

      [['question', 'type', 'value'], ...]

  If debconf doesn't know about a package, we return None.

  CLI Example:

      salt '*' debconf.show <package name>

## Comments

comments powered by Disqus

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin execution modules »