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_SVN_REPOSITORY_BASE=https://svn.dass-it/svn/internal-dasscm/
|
---|
32 | #DASSCM_CHECKOUT_USERNAME=dasscm
|
---|
33 | #DASSCM_CHECKOUT_PASSWORD=
|
---|
34 |
|
---|
35 | #
|
---|
36 | # DEPRECATED: file to store the permissions of the checked-in file
|
---|
37 | #
|
---|
38 | #DASSCM_PERMISSION_FILE="/etc/permissions.d/dasscm.permission_backup"
|
---|
39 |
|
---|
40 | #
|
---|
41 | # List of files and directories, that are always checked and stored in repository.
|
---|
42 | # Entries must be seperated by blanks (" ").
|
---|
43 | # DASSCM_ADDITIONAL_FILES is also used, to store the results of plugins.
|
---|
44 | #
|
---|
45 | DASSCM_ADDITIONAL_FILES="/etc/dasscm.conf /var/lib/dasscm/plugin-results/"
|
---|
46 |
|
---|
47 | #
|
---|
48 | # plugin definitions
|
---|
49 | #
|
---|
50 | # to add a plugin,
|
---|
51 | # define DASSCM_PLUGIN_TEST_YOURPLUGINNAME and DASSCM_PLUGIN_CMD_YOURPLUGINNAME
|
---|
52 | # The plugin is performed every time,
|
---|
53 | # the return code of DASSCM_PLUGIN_TEST_YOURPLUGINNAME is 0 (no error).
|
---|
54 | # Plugin must output there result to STDOUT.
|
---|
55 | # The result is stored at $DASSCM_LOCAL_REPOSITORY_BASE/plugin-results/,
|
---|
56 | # normally /var/lib/dasscm/plugin-results/
|
---|
57 | #
|
---|
58 | # to store plugin results,
|
---|
59 | # make sure, /var/lib/dasscm/plugin-results/ is included in DASSCM_ADDITIONAL_FILES
|
---|
60 | #
|
---|
61 |
|
---|
62 | ## always perform permission plugin
|
---|
63 | DASSCM_PLUGIN_TEST_PERMISSIONS="true"
|
---|
64 | DASSCM_PLUGIN_CMD_PERMISSIONS="dasscm permissions"
|
---|
65 |
|
---|
66 | ## perform rpmlist plugin only if rpm is available and rpm db has changed
|
---|
67 | DASSCM_PLUGIN_TEST_RPMLIST="type rpm && test /var/lib/rpm/Packages -nt /var/lib/dasscm/plugin-results/RPMLIST"
|
---|
68 | DASSCM_PLUGIN_CMD_RPMLIST="rpm -qa --last"
|
---|