Skip to content

Commit 0f303c0

Browse files
authored
Merge pull request ceph#51422 from yuvalif/wip-yuval-cephadm-lua-doc
doc/rgw/lua: add info uploading a script in cephadm deployment Reviewed-by: Zac Dover <[email protected]>
2 parents 813fb28 + 5cec4f7 commit 0f303c0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

doc/radosgw/lua-scripting.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,15 @@ To upload a script:
4040

4141
::
4242
43-
# radosgw-admin script put --infile={lua-file} --context={prerequest|postrequest|background|getdata|putdata} [--tenant={tenant-name}]
43+
# radosgw-admin script put --infile={lua-file-path} --context={prerequest|postrequest|background|getdata|putdata} [--tenant={tenant-name}]
4444

4545

46-
* When uploading a script with the ``background`` context, a tenant name may not be specified.
46+
* When uploading a script with the ``background`` context, a tenant name should not be specified.
47+
* When uploading a script into a cluster deployed with cephadm, use the following command:
48+
49+
::
50+
51+
# cephadm shell radosgw-admin script put --infile=/rootfs/{lua-file-path} --context={prerequest|postrequest|background|getdata|putdata} [--tenant={tenant-name}]
4752

4853

4954
To print the content of the script to standard output:

0 commit comments

Comments
 (0)