====== [HOWTO] UNPublish bucket to internet ======
^ Documentation ^|
^Name:| [HOWTO] UNPublish bucket to internet |
^Description:| [HOWTO] UNPublish bucket to internet |
^Modification date :|06/02/2020|
^Owner:|dodger|
^Notify changes to:|Owner |
^Tags:|ceph, object storage |
^Scalate to:|The_fucking_bofh|
====== Pre-Requirements ======
* Access to ''salt-master''
====== Instructions ======
* Access ''salt-master'' as root
* ''BucketName'' Should be provided by the requester.
* Export the gateway servers:
* Bavel:
export THESERVER="avmlp-osnx-*"
* Delete the bucket publish configuration:
salt "${THESERVER}" file.remove /etc/nginx/bucket.d/${BUCKETNAME}.conf
salt "${THESERVER}" file.remove /etc/nginx/bucket.d/${BUCKETNAME}.conf.bak
* ''${BUCKETNAME}'' Should be provided by the requester.
* Reload service configuration:
salt "${THESERVER}" service.reload tengine