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

Last change on this file since 932 was 932, checked in by joergs, on Dec 3, 2010 at 4:24:59 PM

added /etc/profile.d/dasscm.sh

  • Property svn:keywords set to Id
File size: 2.3 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# evaluated by /etc/profile.d/dasscm.sh
37# If set to "yes",
38# a "dasscm status" is executed during shell login
39#
40DASSCM_STATUS_AT_SHELL_LOGIN="yes"
41
42#
43# DEPRECATED: file to store the permissions of the checked-in file
44#
45#DASSCM_PERMISSION_FILE="/etc/permissions.d/dasscm.permission_backup"
46
47#
48# List of files and directories, that are always checked and stored in repository.
49# Entries must be seperated by blanks (" ").
50# DASSCM_ADDITIONAL_FILES is also used, to store the results of plugins.
51#
52DASSCM_ADDITIONAL_FILES="/etc/dasscm.conf /var/lib/dasscm/plugin-results/"
53
54#
55# plugin definitions
56#
57# to add a plugin,
58# define DASSCM_PLUGIN_TEST_YOURPLUGINNAME and DASSCM_PLUGIN_CMD_YOURPLUGINNAME
59# The plugin is performed every time,
60# the return code of DASSCM_PLUGIN_TEST_YOURPLUGINNAME is 0 (no error).
61# Plugin must output there result to STDOUT.
62# The result is stored at $DASSCM_LOCAL_REPOSITORY_BASE/plugin-results/,
63# normally /var/lib/dasscm/plugin-results/
64#
65# to store plugin results,
66# make sure, /var/lib/dasscm/plugin-results/ is included in DASSCM_ADDITIONAL_FILES
67#
68
69## always perform permission plugin
70DASSCM_PLUGIN_TEST_PERMISSIONS="true"
71DASSCM_PLUGIN_CMD_PERMISSIONS="dasscm permissions"
72
73## perform rpmlist plugin only if rpm is available and rpm db has changed
74DASSCM_PLUGIN_TEST_RPMLIST="type rpm && test /var/lib/rpm/Packages -nt /var/lib/dasscm/plugin-results/RPMLIST"
75DASSCM_PLUGIN_CMD_RPMLIST="rpm -qa --last"
76
77## perform deblist plugin only if dpkg is available
78DASSCM_PLUGIN_TEST_DEBLIST="type dpkg"
79DASSCM_PLUGIN_CMD_DEBLIST="dpkg --list"
80
Note: See TracBrowser for help on using the repository browser.