]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/mgr/orchestrator: Add hints related to custom containers to the docs 37962/head
authorVolker Theile <vtheile@suse.com>
Thu, 5 Nov 2020 10:16:35 +0000 (11:16 +0100)
committerVolker Theile <vtheile@suse.com>
Thu, 5 Nov 2020 10:16:35 +0000 (11:16 +0100)
Fixes: https://tracker.ceph.com/issues/48113
Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit 1927809b0b58243dbe84756b9cec7c29bd0a7494)

doc/mgr/orchestrator.rst

index 6cfcd0ee3f06c51f11115dd2505d29049b215a6c..0631ff4018a128a20d8a94400510acf3f44e5ca3 100644 (file)
@@ -447,8 +447,9 @@ A corresponding :ref:`orchestrator-cli-service-spec` must look like:
       - CONFIG_DIR
     files:
       CONFIG_DIR/foo.conf:
-          - refresh=true
-          - username=xyz
+        - refresh=true
+        - username=xyz
+        - "port: 1234"
 
 where the properties of a service specification are:
 
@@ -483,9 +484,11 @@ where the properties of a service specification are:
 * ``files``
     A dictionary, where the key is the relative path of the file and the
     value the file content. The content must be double quoted when using
-    a string. Use '\n' for line breaks in that case. Otherwise define
+    a string. Use '\\n' for line breaks in that case. Otherwise define
     multi-line content as list of strings. The given files will be created
     below the directory `/var/lib/ceph/<cluster-fsid>/<daemon-name>`.
+    The absolute path of the directory where the file will be created must
+    exist. Use the `dirs` property to create them if necessary.
 
 .. _orchestrator-cli-service-spec: