Add parameter_defaults to Ceph example snippets

The "Customizing ceph.conf with ceph-ansible" section of the
documentation shows examples of using CephAnsibleExtraConfig
and CephConfigOverrides and it's a given that they should be
in environment files under parameter_defaults but rather than
assume the reader knows this, explicitly add parameter_defaults
so that the examples could be copied/pasted into and work without
modification.

Change-Id: I037cf3e6b37ca705853567e4dc9e80fe0e05efe7
This commit is contained in:
John Fulton 2017-11-16 10:32:00 -05:00
parent 9e6170f498
commit 68bf5a6616
1 changed files with 6 additions and 4 deletions

View File

@ -131,8 +131,9 @@ and are translated, when possible, into their equivalent
For example, to encrypt the data stored on OSDs use the following::
CephAnsibleExtraConfig:
dmcrypt: true
parameter_defaults:
CephAnsibleExtraConfig:
dmcrypt: true
The above overrides the defaults found in the
`ceph-ansible/group_vars`_.
@ -140,8 +141,9 @@ The above overrides the defaults found in the
Global settings in the `ceph.conf` may be set using
`CephConfigOverrides` like the following::
CephConfigOverrides:
max_open_files: 131072
parameter_defaults:
CephConfigOverrides:
max_open_files: 131072
To specify a set of dedicated block devices to use as Ceph OSDs use
a variation of the following::