]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
docs: add docs for ceph_conf_overrides usage
authorAndrew Schoen <aschoen@redhat.com>
Thu, 17 Aug 2017 16:13:55 +0000 (11:13 -0500)
committerFlorian Haas <florian@hastexo.com>
Thu, 21 Sep 2017 10:54:04 +0000 (12:54 +0200)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
docs/source/index.rst

index 9e2e434dbe7b64be43ae7dab1e7b8279c5db995b..ad9ef4a045d3b8d5e8c4dad0578a0b53e1f13be7 100644 (file)
@@ -133,9 +133,27 @@ selection or other aspects of your cluster.
 - ``journal_size``
 - ``monitor_interface`` or ``monitor_address``
 
+ceph.conf Configuration
+-----------------------
 
-Full documentation for configuring each of the ceph daemon types are in the following sections.
+The supported method for defining your ceph.conf is to use the ``ceph_conf_overrides`` variable. This allows you to specify configuration options using
+an INI format. This variable can be used to override sections already defined in ceph.conf (see: ``roles/ceph-common/templates/ceph.conf.j2``) or to provide
+new configuration options. The following sections in ceph.conf are supported: [global], [mon], [osd], [mds] and [rgw].
+
+An example::
+
+    ceph_conf_overrides:
+       global:
+         foo: 1234
+         bar: 5678
+       osd:
+         osd_mkfs_type: ext4
 
+.. note::
+    We will no longer accept pull requests that modify the ceph.conf template unless it helps the deployment. For simple configuration tweaks
+    please use the `ceph_conf_overrides` variable.
+
+Full documentation for configuring each of the ceph daemon types are in the following sections.
 
 OSD Configuration
 =================