]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: fix config metavariables discussion
authorSage Weil <sage@inktank.com>
Thu, 12 Jul 2012 16:57:31 +0000 (09:57 -0700)
committerSage Weil <sage@inktank.com>
Thu, 12 Jul 2012 17:00:41 +0000 (10:00 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
doc/dev/config.rst

index a4fdb49b169fcacc9bd26afa64a39a8ed100986e..49eda359a4dabaaa175318890d0e40726f50e8c6 100644 (file)
@@ -39,14 +39,14 @@ A sample configuration file can be found in src/sample.ceph.conf.
 Metavariables
 =============
 
-The configuration system supports certain "metavariables." If these occur
-inside a configuration value, they are expanded into something else-- similar to
-how bash shell expansion works.
+The configuration system allows any configuration value to be
+substituted into another value using the ``$varname`` syntax, similar
+to how bash shell expansion works.
 
-There are a few different metavariables:
+A few additional special metavariables are also defined:
  - $host: expands to the current hostname
- - $type: expands to one of "mds", "osd", or "mon"
- - $id: expands to the daemon identifier. For osd.0, this would be "0"; for mds.a, it would be "a"
+ - $type: expands to one of "mds", "osd", "mon", or "client"
+ - $id: expands to the daemon identifier. For ``osd.0``, this would be ``0``; for ``mds.a``, it would be ``a``; for ``client.admin``, it would be ``admin``.
  - $num: same as $id
  - $name: expands to $type.$id