1 | #
|
---|
2 | # dasscm configuration
|
---|
3 | #
|
---|
4 |
|
---|
5 | #
|
---|
6 | # TODO:
|
---|
7 | # - set unique DASSCM_REPOSITORY_NAME.
|
---|
8 | # Normally use the full qualified hostname
|
---|
9 | # - for security reasons, it is recommended
|
---|
10 | # to set DASSCM_CHECKOUT_USERNAME and DASSCM_CHECKOUT_PASSWORD
|
---|
11 | # individually (maybe host specific)
|
---|
12 | #
|
---|
13 |
|
---|
14 | #
|
---|
15 | # host specific name
|
---|
16 | # it is required, to set this unique
|
---|
17 | # normally, use the result of `hostname -f`
|
---|
18 | #
|
---|
19 | DASSCM_REPOSITORY_NAME=
|
---|
20 |
|
---|
21 | #
|
---|
22 | # local base directory
|
---|
23 | #
|
---|
24 | DASSCM_LOCAL_REPOSITORY_BASE=/var/lib/dasscm/
|
---|
25 |
|
---|
26 | #
|
---|
27 | # subversion server settings
|
---|
28 | # (dassit preconfigured, choose between internal and external)
|
---|
29 | #
|
---|
30 | #DASSCM_SVN_REPOSITORY_BASE=https://svn.dass-it.de/svn/dasscm/
|
---|
31 | #DASSCM_CHECKOUT_USERNAME=dasscm
|
---|
32 | #DASSCM_CHECKOUT_PASSWORD=
|
---|
33 |
|
---|
34 | #
|
---|
35 | # evaluated by /etc/profile.d/dasscm.sh
|
---|
36 | # If set to "yes",
|
---|
37 | # a "dasscm status" is executed during shell login
|
---|
38 | #
|
---|
39 | DASSCM_STATUS_AT_SHELL_LOGIN="yes"
|
---|
40 |
|
---|
41 | #
|
---|
42 | # DEPRECATED: file to store the permissions of the checked-in file
|
---|
43 | #
|
---|
44 | #DASSCM_PERMISSION_FILE="/etc/permissions.d/dasscm.permission_backup"
|
---|
45 |
|
---|
46 | #
|
---|
47 | # List of files and directories, that are always checked and stored in repository.
|
---|
48 | # Entries must be seperated by blanks (" ").
|
---|
49 | # DASSCM_ADDITIONAL_FILES is also used, to store the results of plugins.
|
---|
50 | #
|
---|
51 | DASSCM_ADDITIONAL_FILES="/etc/dasscm.conf /var/lib/dasscm/plugin-results/"
|
---|
52 |
|
---|
53 | #
|
---|
54 | # plugin definitions
|
---|
55 | #
|
---|
56 | # to add a plugin,
|
---|
57 | # define DASSCM_PLUGIN_TEST_YOURPLUGINNAME and DASSCM_PLUGIN_CMD_YOURPLUGINNAME
|
---|
58 | # The plugin is performed every time,
|
---|
59 | # the return code of DASSCM_PLUGIN_TEST_YOURPLUGINNAME is 0 (no error).
|
---|
60 | # Plugin must output there result to STDOUT.
|
---|
61 | # The result is stored at $DASSCM_LOCAL_REPOSITORY_BASE/plugin-results/,
|
---|
62 | # normally /var/lib/dasscm/plugin-results/
|
---|
63 | #
|
---|
64 | # to store plugin results,
|
---|
65 | # make sure, /var/lib/dasscm/plugin-results/ is included in DASSCM_ADDITIONAL_FILES
|
---|
66 | #
|
---|
67 |
|
---|
68 | ## always perform permission plugin
|
---|
69 | DASSCM_PLUGIN_TEST_PERMISSIONS="true"
|
---|
70 | DASSCM_PLUGIN_CMD_PERMISSIONS="dasscm permissions"
|
---|
71 |
|
---|
72 | ## perform rpmlist plugin only if rpm is available and rpm db has changed
|
---|
73 | DASSCM_PLUGIN_TEST_RPMLIST="type rpm && test /var/lib/rpm/Packages -nt /var/lib/dasscm/plugin-results/RPMLIST"
|
---|
74 | DASSCM_PLUGIN_CMD_RPMLIST="rpm -qa --last"
|
---|
75 |
|
---|
76 | ## perform deblist plugin only if dpkg is available
|
---|
77 | DASSCM_PLUGIN_TEST_DEBLIST="type dpkg"
|
---|
78 | DASSCM_PLUGIN_CMD_DEBLIST="dpkg --list"
|
---|
79 |
|
---|