Changes between Version 8 and Version 9 of dasscm


Ignore:
Timestamp:
May 10, 2010, 2:49:50 PM (14 years ago)
Author:
joergs
Comment:

sectioning

Legend:

Unmodified
Added
Removed
Modified
  • dasscm

    v8 v9  
    66'''dass''' '''c'''onfiguration '''m'''anagment (dasscm) is a simple solution for managing system configuration file with Subversion. It is favored because of its easy setup and low footsprint. It can be easily integrated into Nagios monitoring.
    77
     8== Features ==
     9
     10 * version file directly on the target system. Keeping track of the Subversion checkout is done automatically in the background
     11 * work with your system id, but checkin files with your Subversion id
     12 * easy status check (are all file checked in?). Can be easily integrated into Nagios
     13
    814[[TitleIndex(dasscm)]]
    915
    10 == Naming ==
     16== Installation Repositories ==
     17
     18|| package repositories (RPM and DEB) || http://download.opensuse.org/repositories/home:/dassit/ ||
     19|| source code                        || source:dasscm/trunk ||
     20
     21
     22
     23
     24= Wording =
    1125
    1226It is not always easy to get the context of eg. repository, because it can mean "server side svn repository", "package repository", like "RPM repository" or sometimes also your local svn ckeckout.
     
    2337
    2438
    25 == Repository ==
    26 
    27 
    28 || package repositories (RPM and DEB) || http://download.opensuse.org/repositories/home:/dassit/ ||
    29 || source code                        || source:dasscm/trunk ||
    30 
    31 
    32 == About ==
     39= About =
    3340
    3441dasscm is a wrapper Perl script around the {{{svn}}} command.
     
    5562
    5663
    57 
    58 == Usage ==
    59 
    60 === Subcommands ===
     64== Pre-Requirements ==
     65
     66  * an existing empty directory in a subversion repository. Normally you create a new directory of every dasscm installation (like http://mysubversionserver/config/HOSTNAME)
     67  * a user with read permissions to this subversion repository. The username {{{dasscm}}} is a good choice
     68
     69== Configuration ==
     70
     71After installing it is required to configure {{{dasscm}}}.
     72All configuration changes have to be done in the file {{{/etc/dasscm.conf}}}
     73
     74[[Include(source:dasscm/trunk/dasscm.conf, text/plain)]]
     75
     76Set the following variables according to your needs:
     77    || {{{DASSCM_REPOSITORY_NAME=system-name}}}                          || normally {{{hostname -f}}} ||
     78    || {{{DASSCM_CHECKOUT_USERNAME=dasscm}}}                             || subversion user with read-only permissions ||
     79    || {{{DASSCM_CHECKOUT_PASSWORD=dasscm-password}}}                    || subversion password for {{{$DASSCM_CHECKOUT_USERNAME}}} ||
     80    || {{{DASSCM_SVN_REPOSITORY_BASE=http://your-svn-repository/path/}}} || subversion directory in which the {{{$DASSCM_REPOSITORY_NAME}}} directory is located ||
     81 
     82If it not already exists, you can create your subversion subdirectory by
     83{{{
     84source /etc/dasscm.conf
     85svn mkdir -m "initial" --no-auth-cache $DASSCM_SVN_REPOSITORY_BASE/$DASSCM_REPOSITORY_NAME
     86}}}
     87
     88
     89
     90== Subcommands ==
    6191
    6292dasscm suppots following subcommands:
     
    78108
    79109
    80 
    81 === Pre-Requirements ===
    82 
    83   * an existing empty directory in a subversion repository. Normally you create a new directory of every dasscm installation (like http://mysubversionserver/config/HOSTNAME)
    84   * a user with read permissions to this subversion repository. The username {{{dasscm}}} is a good choice
    85 
    86 === Configuration ===
    87 
    88 After installing it is required to configure {{{dasscm}}}.
    89 All configuration changes have to be done in the file {{{/etc/dasscm.conf}}}
    90 
    91 [[Include(source:dasscm/trunk/dasscm.conf, text/plain)]]
    92 
    93 Set the following variables according to your needs:
    94     || {{{DASSCM_REPOSITORY_NAME=system-name}}}                          || normally {{{hostname -f}}} ||
    95     || {{{DASSCM_CHECKOUT_USERNAME=dasscm}}}                             || subversion user with read-only permissions ||
    96     || {{{DASSCM_CHECKOUT_PASSWORD=dasscm-password}}}                    || subversion password for {{{$DASSCM_CHECKOUT_USERNAME}}} ||
    97     || {{{DASSCM_SVN_REPOSITORY_BASE=http://your-svn-repository/path/}}} || subversion directory in which the {{{$DASSCM_REPOSITORY_NAME}}} directory is located ||
    98  
    99 If it not already exists, you can create your subversion subdirectory by
    100 {{{
    101 source /etc/dasscm.conf
    102 svn mkdir -m "initial" --no-auth-cache $DASSCM_SVN_REPOSITORY_BASE/$DASSCM_REPOSITORY_NAME
    103 }}}
    104 
    105110==== login ====
    106111
     
    256261
    257262
    258 == addititional info ==
     263= addititional info =
    259264
    260265from [source:dasscm/trunk/doc/dasscm_howto.txt]: