Changeset 919


Ignore:
Timestamp:
Jul 26, 2010, 6:25:55 PM (14 years ago)
Author:
joergs
Message:

added plugins parameter and descriptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dasscm/trunk/etc/dasscm.conf

    r916 r919  
    3434
    3535#
    36 # file to store the permissions of the checked-in file
     36# DEPRECATED: file to store the permissions of the checked-in file
    3737#
    38 DASSCM_PERMISSION_FILE="/etc/permissions.d/dasscm.permission_backup"
     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/"
    3946
    4047#
    4148# plugin definitions
    4249#
     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
    4367DASSCM_PLUGIN_TEST_RPMLIST="type rpm && test /var/lib/rpm/Packages -nt /var/lib/dasscm/plugin-results/RPMLIST"
    4468DASSCM_PLUGIN_CMD_RPMLIST="rpm -qa --last"
Note: See TracChangeset for help on using the changeset viewer.