source: dasscm/trunk/etc/dasscm.conf@ 925

Last change on this file since 925 was 925, checked in by joergs, on Jul 30, 2010 at 5:52:13 PM

add debian filelist plugin

  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
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#
19DASSCM_REPOSITORY_NAME=
20
21#
22# local base directory
23#
24DASSCM_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#
45DASSCM_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
63DASSCM_PLUGIN_TEST_PERMISSIONS="true"
64DASSCM_PLUGIN_CMD_PERMISSIONS="dasscm permissions"
65
66## perform rpmlist plugin only if rpm is available and rpm db has changed
67DASSCM_PLUGIN_TEST_RPMLIST="type rpm && test /var/lib/rpm/Packages -nt /var/lib/dasscm/plugin-results/RPMLIST"
68DASSCM_PLUGIN_CMD_RPMLIST="rpm -qa --last"
69
70## perform deblist plugin only if dpkg is available
71DASSCM_PLUGIN_TEST_DEBLIST="type dpkg"
72DASSCM_PLUGIN_CMD_DEBLIST="dpkg --list"
73
Note: See TracBrowser for help on using the repository browser.