File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -319,6 +319,40 @@ profile::ceph::client::shares:
319319` ` `
320320</details>
321321
322+ # ### Type `CephFS`
323+
324+ Defines a CephFS share configuration used by `profile::ceph::client::shares`.
325+
326+ | Field | Description | Type | Required |
327+ | :---------------------------- | :-------------------------------------------------------------- | :--------------------------- | :------- |
328+ | `share_name` | Ceph share name | String | Yes |
329+ | `access_key` | Ceph key for the user | String | Yes |
330+ | `export_path` | CephFS export path to mount | Stdlib::Unixpath | Yes |
331+ | `bind_mounts` | Optional list of bind mounts created from the mounted share | Array[BindMount] | No |
332+ | `binds_fcontext_equivalence` | Optional SELinux fcontext equivalence target for bind mounts | Stdlib::Unixpath | No |
333+
334+ ` ` ` yaml
335+ profile::ceph::client::shares:
336+ home:
337+ share_name: "home"
338+ access_key: "AQB...=="
339+ export_path: "/volumes/home"
340+ bind_mounts:
341+ - src: "/projects"
342+ dst: "/srv/projects"
343+ type: "directory"
344+ ` ` `
345+
346+ # ### Type `BindMount`
347+
348+ Defines a bind mount created from a subpath of the mounted CephFS share.
349+
350+ | Field | Description | Type | Required |
351+ | :---- | :-------------------------------------------------- | :------------------------- | :------- |
352+ | `src` | Source path within the mounted share | Stdlib::Unixpath | Yes |
353+ | `dst` | Destination path on the host | Stdlib::Unixpath | Yes |
354+ | `type`| Optional target type (`file` or `directory`) | Enum['file','directory'] | No |
355+
322356# # profile::ceph::client::install
323357
324358This class only installs the Ceph packages.
You can’t perform that action at this time.
0 commit comments