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

Last change on this file since 994 was 977, checked in by joergs, on Dec 20, 2011 at 9:25:39 PM

build fix, cleanup

  • Property svn:keywords set to Id
File size: 2.2 KB
RevLine 
[206]1#
2# dasscm configuration
3#
4
[212]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
[206]14#
15# host specific name
16# it is required, to set this unique
[776]17# normally, use the result of `hostname -f`
[206]18#
19DASSCM_REPOSITORY_NAME=
20
21#
22# local base directory
23#
24DASSCM_LOCAL_REPOSITORY_BASE=/var/lib/dasscm/
25
26#
[869]27# subversion server settings
28# (dassit preconfigured, choose between internal and external)
[206]29#
[863]30#DASSCM_SVN_REPOSITORY_BASE=https://svn.dass-it.de/svn/dasscm/
[243]31#DASSCM_CHECKOUT_USERNAME=dasscm
32#DASSCM_CHECKOUT_PASSWORD=
[286]33
34#
[932]35# evaluated by /etc/profile.d/dasscm.sh
36# If set to "yes",
37# a "dasscm status" is executed during shell login
38#
39DASSCM_STATUS_AT_SHELL_LOGIN="yes"
40
41#
[919]42# DEPRECATED: file to store the permissions of the checked-in file
[286]43#
[919]44#DASSCM_PERMISSION_FILE="/etc/permissions.d/dasscm.permission_backup"
[916]45
46#
[919]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#
51DASSCM_ADDITIONAL_FILES="/etc/dasscm.conf /var/lib/dasscm/plugin-results/"
52
53#
[916]54# plugin definitions
55#
[919]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
69DASSCM_PLUGIN_TEST_PERMISSIONS="true"
70DASSCM_PLUGIN_CMD_PERMISSIONS="dasscm permissions"
71
72## perform rpmlist plugin only if rpm is available and rpm db has changed
[916]73DASSCM_PLUGIN_TEST_RPMLIST="type rpm && test /var/lib/rpm/Packages -nt /var/lib/dasscm/plugin-results/RPMLIST"
74DASSCM_PLUGIN_CMD_RPMLIST="rpm -qa --last"
[925]75
76## perform deblist plugin only if dpkg is available
77DASSCM_PLUGIN_TEST_DEBLIST="type dpkg"
78DASSCM_PLUGIN_CMD_DEBLIST="dpkg --list"
79
Note: See TracBrowser for help on using the repository browser.