13.30. cdist-type__debconf_set_selections(7)

13.30.1. NAME

cdist-type__debconf_set_selections - Setup debconf selections

13.30.2. DESCRIPTION

On Debian and alike systems debconf-set-selections(1) can be used to setup configuration parameters.

13.30.3. REQUIRED PARAMETERS

file
Use the given filename as input for debconf-set-selections(1) If filename is "-", read from stdin.

13.30.4. EXAMPLES

# Setup configuration for nslcd
__debconf_set_selections nslcd --file /path/to/file

# Setup configuration for nslcd from another type
__debconf_set_selections nslcd --file "$__type/files/preseed/nslcd"

__debconf_set_selections nslcd --file - << eof
gitolite gitolite/gituser string git
eof

13.30.5. SEE ALSO

debconf-set-selections(1), cdist-type__update_alternatives(7)

13.30.6. AUTHORS

Nico Schottelius <nico-cdist--@--schottelius.org>

13.30.7. COPYING

Copyright (C) 2011-2014 Nico Schottelius. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.