| 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 |
|---|
| 12 | GCONF="@sysconfdir@/confman.conf" |
|---|
| 13 | |
|---|
| 14 | # The location of our shell library |
|---|
| 15 | REPO_LIBRARY="@pkgdatadir@/confmanlib.sh" |
|---|
| 16 | |
|---|
| 17 | # The location of our shell's documentation library |
|---|
| 18 | REPO_DOCS_CONFMAN="@pkgdatadir@/confmandoc.sh" |
|---|
| 19 | REPO_DOCS_CONFADMIN="@pkgdatadir@/confadmindoc.sh" |
|---|
| 20 | |
|---|
| 21 | # The location of the filedb library |
|---|
| 22 | FILEDB_LIBRARY="@pkgdatadir@/libfiledb.sh" |
|---|
| 23 | |
|---|
| 24 | # The system lockfile |
|---|
| 25 | LOCKFILE="@localstaterundir@/confman.lock" |
|---|
| 26 | |
|---|
| 27 | # The system lockfile for confexport |
|---|
| 28 | CONFEXPORT_LOCKFILE="@localstaterundir@/confexport.lock" |
|---|
| 29 | |
|---|
| 30 | # The script for locking |
|---|
| 31 | LOCK="@pkglibexecdir@/conflock" |
|---|
| 32 | |
|---|
| 33 | # The abspath script |
|---|
| 34 | ABSPATH="@pkglibexecdir@/abspath" |
|---|
| 35 | |
|---|
| 36 | # The directory from the root of the repository to our checkpoints: |
|---|
| 37 | REPO_CHECKPTS="checkpoints" |
|---|
| 38 | |
|---|
| 39 | # Our username on the repository host |
|---|
| 40 | REPO_REMOTE_USER="" |
|---|
| 41 | |
|---|
| 42 | # Where to keep our "working copy" of the system: |
|---|
| 43 | WORK_PATH="${HOME}/src/conf" |
|---|
| 44 | |
|---|
| 45 | # The list of singularities on this host |
|---|
| 46 | SINGULARITIES="" |
|---|
| 47 | |
|---|
| 48 | # A place where confman can keep state |
|---|
| 49 | REPO_DB="@localstatedir@/db/confman" |
|---|
| 50 | |
|---|
| 51 | # The path to our current host's recipe file |
|---|
| 52 | RECIPE_FILE="${REPO_DB}/recipe" |
|---|
| 53 | |
|---|
| 54 | # The template for log messages |
|---|
| 55 | LOG_TEMPLATE="/dev/null" |
|---|
| 56 | |
|---|
| 57 | # The template for new recipes |
|---|
| 58 | RECIPE_TEMPLATE="@sysconfdefaultsdir@/recipe.template" |
|---|
| 59 | |
|---|
| 60 | # The warning message for all files |
|---|
| 61 | CONF_WARNING="WARNING! This file is under confman revision control." |
|---|
| 62 | CONF_WARNING="${CONF_WARNING} DO NOT MODIFY DIRECTLY!" |
|---|
| 63 | |
|---|
| 64 | # Default file properties |
|---|
| 65 | DEFAULT_MODE_DIRECTORY="0555" |
|---|
| 66 | DEFAULT_MODE_FILE="0444" |
|---|
| 67 | DEFAULT_OWNER="root" |
|---|
| 68 | DEFAULT_GROUP="wheel" |
|---|
| 69 | DEFAULT_COMMENT="#" |
|---|
| 70 | |
|---|
| 71 | # What group should be able to read confman files? |
|---|
| 72 | CONF_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. |
|---|
| 78 | CONF_EXPORT_FILE="${REPO_DB}/export.tgz" |
|---|
| 79 | CONF_EXPORT_URI="scp://confman@${REPO_HOSTNAME}${CONF_EXPORT_FILE}" |
|---|
| 80 | CONF_EXPORT_MODE="0640" |
|---|
| 81 | CONF_EXPORT_USER="$(whoami)" |
|---|
| 82 | CONF_EXPORT_GROUP="${CONF_GROUP}" |
|---|
| 83 | CONF_EXPORT_WORK_PATH="" |
|---|
| 84 | CONF_EXPORT_STYLE="repository" |
|---|
| 85 | CONF_EXPORT_INCREMENTAL="false" |
|---|
| 86 | CONF_EXPORT_INCREMENTAL_LN="false" |
|---|
| 87 | CONF_EXPORT_FILEDB="false" |
|---|
| 88 | CONF_EXPORT_FILEDB_PLUS_SVN="false" |
|---|
| 89 | EXPORT_REPO_PROTOCOL="" |
|---|
| 90 | EXPORT_REPO_HOSTNAME="" |
|---|
| 91 | EXPORT_REPO_PATH="" |
|---|
| 92 | CONF_SSH_KEY="/root/.ssh/id_rsa" |
|---|
| 93 | |
|---|
| 94 | # confsync sleep (in seconds) |
|---|
| 95 | CONF_SYNC_SLEEP="" |
|---|
| 96 | |
|---|
| 97 | # confaudit sleep (in seconds) |
|---|
| 98 | CONF_AUDIT_SLEEP="" |
|---|
| 99 | |
|---|
| 100 | # Enable or disable debugging |
|---|
| 101 | DEBUG="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. |
|---|
| 105 | NFS_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" |
|---|
| 111 | LIVE_ROOT="" |
|---|
| 112 | |
|---|
| 113 | # Allow svn to update only the files relevant to the recipe before a commit |
|---|
| 114 | # or install operation. |
|---|
| 115 | UPDATE_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. |
|---|
| 121 | CONF_COMMIT_REPO_ONLY="false" |
|---|