source: trunk/confman.conf.in @ 593

Revision 593, 3.5 KB checked in by blee, 6 weeks ago (diff)

Introduce option CONF_EXPORT_FILEDB_PLUS_SVN.

This allows a single confexport server to support multiple versions of
confsync clients by including both the new filedb metadata format and
also legacy Subversion metadata. Upgraded confsync clients will
automatically prefer to use the filedb metadata when it is available.

Fixes #155

  • Property rc:mode set to 0444
  • Property svn:keywords set to Id
Line 
1# DO NOT MODIFY THIS FILE
2#
3# This file defines the default configurations and required constants
4# to make confman work.
5#
6# If you would like to override any portion of this file, please do so
7# in @sysconfdir@/confman.conf or ~/.confmanrc.
8
9# $Id$
10
11# The system-wide configuration file
12GCONF="@sysconfdir@/confman.conf"
13
14# The location of our shell library
15REPO_LIBRARY="@pkgdatadir@/confmanlib.sh"
16
17# The location of our shell's documentation library
18REPO_DOCS_CONFMAN="@pkgdatadir@/confmandoc.sh"
19REPO_DOCS_CONFADMIN="@pkgdatadir@/confadmindoc.sh"
20
21# The location of the filedb library
22FILEDB_LIBRARY="@pkgdatadir@/libfiledb.sh"
23
24# The system lockfile
25LOCKFILE="@localstaterundir@/confman.lock"
26
27# The system lockfile for confexport
28CONFEXPORT_LOCKFILE="@localstaterundir@/confexport.lock"
29
30# The script for locking
31LOCK="@pkglibexecdir@/conflock"
32
33# The abspath script
34ABSPATH="@pkglibexecdir@/abspath"
35
36# The directory from the root of the repository to our checkpoints:
37REPO_CHECKPTS="checkpoints"
38
39# Our username on the repository host
40REPO_REMOTE_USER=""
41
42# Where to keep our "working copy" of the system:
43WORK_PATH="${HOME}/src/conf"
44
45# The list of singularities on this host
46SINGULARITIES=""
47
48# A place where confman can keep state
49REPO_DB="@localstatedir@/db/confman"
50
51# The path to our current host's recipe file
52RECIPE_FILE="${REPO_DB}/recipe"
53
54# The template for log messages
55LOG_TEMPLATE="/dev/null"
56
57# The template for new recipes
58RECIPE_TEMPLATE="@sysconfdefaultsdir@/recipe.template"
59
60# The warning message for all files
61CONF_WARNING="WARNING! This file is under confman revision control."
62CONF_WARNING="${CONF_WARNING} DO NOT MODIFY DIRECTLY!"
63
64# Default file properties
65DEFAULT_MODE_DIRECTORY="0555"
66DEFAULT_MODE_FILE="0444"
67DEFAULT_OWNER="root"
68DEFAULT_GROUP="wheel"
69DEFAULT_COMMENT="#"
70
71# What group should be able to read confman files?
72CONF_GROUP="wheel"
73
74# This is the URI for clients to locate the exported working copy. This
75# is used by system processes (crons). There are URI handlers for
76# file://, http://, https://, ftp://, sftp://, and scp://. Port numbers
77# are not handled correctly in sftp and scp URIs.
78CONF_EXPORT_FILE="${REPO_DB}/export.tgz"
79CONF_EXPORT_URI="scp://confman@${REPO_HOSTNAME}${CONF_EXPORT_FILE}"
80CONF_EXPORT_MODE="0640"
81CONF_EXPORT_USER="$(whoami)"
82CONF_EXPORT_GROUP="${CONF_GROUP}"
83CONF_EXPORT_WORK_PATH=""
84CONF_EXPORT_STYLE="repository"
85CONF_EXPORT_INCREMENTAL="false"
86CONF_EXPORT_INCREMENTAL_LN="false"
87CONF_EXPORT_FILEDB="false"
88CONF_EXPORT_FILEDB_PLUS_SVN="false"
89EXPORT_REPO_PROTOCOL=""
90EXPORT_REPO_HOSTNAME=""
91EXPORT_REPO_PATH=""
92CONF_SSH_KEY="/root/.ssh/id_rsa"
93
94# confsync sleep (in seconds)
95CONF_SYNC_SLEEP=""
96
97# confaudit sleep (in seconds)
98CONF_AUDIT_SLEEP=""
99
100# Enable or disable debugging
101DEBUG="false"
102
103# Enable a hack that makes your working copy world-readable. This is
104# necessary to use confman with NFS home directories in some situations.
105NFS_HACK="false"
106
107# A prefix to the live filesystem image. This should be unset if you don't
108# want to use a prefix. Useful for testing confman, by having files installed
109# into an arbitrary system root, instead of the actual system.
110#LIVE_ROOT="/tmp/example"
111LIVE_ROOT=""
112
113# Allow svn to update only the files relevant to the recipe before a commit
114# or install operation.
115UPDATE_RELEVANT_ONLY="false"
116
117# In centrally managed confexport/confsync environments, the expected
118# behavior of a "confman commit" is a repository-only operation, with
119# with no regard for the current machine's recipe or the subsequent
120# rollout to the filesystem.
121CONF_COMMIT_REPO_ONLY="false"
Note: See TracBrowser for help on using the repository browser.