File: cdebconf.conf

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 (67 lines) | stat: -rw-r--r-- 1,178 bytes parent folder | download | duplicates (10)
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
// 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 "./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 "/var/cache/debconf/templates.dat";
    mode 0644;
  };
};

config {
  instance "config_gen_db" {
    driver "rfc822db";
    path "./test/config.dat";
    mode 0644;
    reject_types { "password"; };
  };

  instance "config_passwd_db" {
    driver "rfc822db";
    path "./test/passwords.dat";
    mode 0600;
    accept_types { "password"; };
  };

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

  instance "from_db" {
    driver "rfc822db";
    path "/var/cache/debconf/config.dat";
  };

  instance "to_db2" {
    driver "rfc822db";
    path "/tmp/test.dat";
  };

  instance "to_db" {
    driver "textdb";
    path "/tmp/questions";
  };
};