File: cdebconf.conf-dist.in

package info (click to toggle)
cdebconf 0.138lenny3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,184 kB
  • ctags: 1,371
  • sloc: ansic: 14,158; sh: 469; makefile: 429; sql: 51; perl: 13
file content (72 lines) | stat: -rw-r--r-- 1,514 bytes parent folder | download | duplicates (4)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// This is a sample debconf configuration file
// Comments can be in C or C++ style, blank lines are ignored
// This file is in a bind-8 like format.

global {
  module_path {
    frontend "/usr/lib/cdebconf/frontend";
    database "/usr/lib/cdebconf/db";
  };

  default {
    frontend "default_fe";
    template "templatedb";
    config "configdb";
  };
};

frontend {
  instance "default_fe" {
    driver "@DEFAULT_FRONTEND@";
  };
};

template {
  instance "templatedb" {
    driver "rfc822db";
    path "/var/lib/cdebconf/templates.dat";
  };

  instance "target_templatedb" {
    driver "rfc822db";
    path "/target/var/cache/debconf/templates.dat";
  };
};

config {
  instance "config_gen_db" {
    driver "rfc822db";
    path "/var/lib/cdebconf/questions.dat";
    reject_types { "password"; };
  };

  instance "config_passwd_db" {
    driver "rfc822db";
    path "/var/lib/cdebconf/passwords.dat";
    accept_types { "password"; };
  };

  instance "configdb" {
    driver "stack";
    stack { "config_gen_db"; "config_passwd_db"; };
  };

  instance "target_config_gen_db" {
    driver "rfc822db";
    path "/target/var/cache/debconf/config.dat";
    reject_types { "password"; };
  };

  instance "target_config_passwd_db" {
    driver "rfc822db";
    path "/target/var/cache/debconf/passwords.dat";
    accept_types { "password"; };
  };

  instance "target_configdb" {
    driver "stack";
    stack { "target_config_gen_db"; "target_config_passwd_db"; };
    template "target_templatedb";
  };
};