/usr/share/doc/cdebconf/testing.txt is in cdebconf 0.227.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | Some simple hints on how to do local testing of cdebconf:
./configure --with-frontend=text --with-conffile=./cdebconf.conf
make
cd src/test
cp ../cdebconf.conf .
Edit cdebconf.conf to suit your needs, mine looks like this:
- 8< -----
global {
module_path {
frontend "../modules/frontend";
database "../modules/db";
};
default {
frontend "default_fe";
template "templatedb";
config "configdb";
};
};
frontend {
instance "default_fe" {
driver "text";
};
};
template {
instance "templatedb" {
driver "rfc822db";
path "./templates.dat";
};
};
config {
instance "configdb" {
driver "rfc822db";
path "./questions.dat";
};
};
- 8< -----
../debconf-loadtemplate debian test.templates
../debconf test.config
|