Changeset 306 for trunk/confman.conf.in


Ignore:
Timestamp:
01/26/2009 21:53:49 (3 years ago)
Author:
blee
Message:

Some Autotools cleanup:

  • /var is no longer hard-coded (instead use localstatedir)
  • confman.conf.sample is now created by autotools so that it has relevant defaults

Additionally:

  • Changing default of CONF_SSH_KEY to /root/.ssh/id_rsa

See #6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/confman.conf.in

    r302 r306  
    1616 
    1717# The system lockfile 
    18 LOCKFILE="/var/run/confman.lock" 
     18LOCKFILE="@localstatedir@/run/confman.lock" 
    1919 
    2020# The script for locking 
     
    3030WORK_PATH="${HOME}/src/conf" 
    3131 
    32 # The path to our current host's recipe file 
    33 RECIPE_FILE="/var/db/confman/recipe" 
    34  
    3532# The list of singularities on this host 
    3633SINGULARITIES="" 
    3734 
    3835# A place where confman can keep state 
    39 REPO_DB="/var/db/confman" 
     36REPO_DB="@localstatedir@/db/confman" 
     37 
     38# The path to our current host's recipe file 
     39RECIPE_FILE="${REPO_DB}/recipe" 
    4040 
    4141# The warning message for all files 
     
    5757# file://, http://, https://, ftp://, sftp://, and scp://. Port numbers 
    5858# are not handled correctly in sftp and scp URIs. 
    59 CONF_EXPORT_FILE="/var/db/confman/export.tgz" 
     59CONF_EXPORT_FILE="${REPO_DB}/export.tgz" 
    6060CONF_EXPORT_URI="scp://confman@${REPO_HOSTNAME}${CONF_EXPORT_FILE}" 
    6161CONF_EXPORT_MODE="0640" 
    6262CONF_EXPORT_USER="$(whoami)" 
    6363CONF_EXPORT_GROUP="${CONF_GROUP}" 
    64 CONF_SSH_KEY="/root/id_rsa" 
     64CONF_SSH_KEY="/root/.ssh/id_rsa" 
    6565 
    6666# Enable or disable debugging 
Note: See TracChangeset for help on using the changeset viewer.