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

Last change on this file since 947 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
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_SVN_REPOSITORY_BASE=https://svn.dass-it/svn/internal-dasscm/
32#DASSCM_CHECKOUT_USERNAME=dasscm
33#DASSCM_CHECKOUT_PASSWORD=
[286]34
35#
[932]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#
[919]43# DEPRECATED: file to store the permissions of the checked-in file
[286]44#
[919]45#DASSCM_PERMISSION_FILE="/etc/permissions.d/dasscm.permission_backup"
[916]46
47#
[919]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#
[916]55# plugin definitions
56#
[919]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
[916]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"
[925]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.