# # dasscm configuration # # # TODO: # - set unique DASSCM_REPOSITORY_NAME. # Normally use the full qualified hostname # - for security reasons, it is recommended # to set DASSCM_CHECKOUT_USERNAME and DASSCM_CHECKOUT_PASSWORD # individually (maybe host specific) # # # host specific name # it is required, to set this unique # normally, use the result of `hostname -f` # DASSCM_REPOSITORY_NAME= # # local base directory # DASSCM_LOCAL_REPOSITORY_BASE=/var/lib/dasscm/ # # subversion server settings # (dassit preconfigured, choose between internal and external) # #DASSCM_SVN_REPOSITORY_BASE=https://svn.dass-it.de/svn/dasscm/ #DASSCM_CHECKOUT_USERNAME=dasscm #DASSCM_CHECKOUT_PASSWORD= # # evaluated by /etc/profile.d/dasscm.sh # If set to "yes", # a "dasscm status" is executed during shell login # DASSCM_STATUS_AT_SHELL_LOGIN="yes" # # DEPRECATED: file to store the permissions of the checked-in file # #DASSCM_PERMISSION_FILE="/etc/permissions.d/dasscm.permission_backup" # # List of files and directories, that are always checked and stored in repository. # Entries must be seperated by blanks (" "). # DASSCM_ADDITIONAL_FILES is also used, to store the results of plugins. # DASSCM_ADDITIONAL_FILES="/etc/dasscm.conf /var/lib/dasscm/plugin-results/" # # plugin definitions # # to add a plugin, # define DASSCM_PLUGIN_TEST_YOURPLUGINNAME and DASSCM_PLUGIN_CMD_YOURPLUGINNAME # The plugin is performed every time, # the return code of DASSCM_PLUGIN_TEST_YOURPLUGINNAME is 0 (no error). # Plugin must output there result to STDOUT. # The result is stored at $DASSCM_LOCAL_REPOSITORY_BASE/plugin-results/, # normally /var/lib/dasscm/plugin-results/ # # to store plugin results, # make sure, /var/lib/dasscm/plugin-results/ is included in DASSCM_ADDITIONAL_FILES # ## always perform permission plugin DASSCM_PLUGIN_TEST_PERMISSIONS="true" DASSCM_PLUGIN_CMD_PERMISSIONS="dasscm permissions" ## perform rpmlist plugin only if rpm is available and rpm db has changed DASSCM_PLUGIN_TEST_RPMLIST="type rpm && test /var/lib/rpm/Packages -nt /var/lib/dasscm/plugin-results/RPMLIST" DASSCM_PLUGIN_CMD_RPMLIST="rpm -qa --last" ## perform deblist plugin only if dpkg is available DASSCM_PLUGIN_TEST_DEBLIST="type dpkg" DASSCM_PLUGIN_CMD_DEBLIST="dpkg --list"