charm-ceph-radosgw/hooks/upgrade-charm
Chris MacNaughton e4d4d09b53 Enable Ceph Radosgw tenant namespacing
This change enabled automatic tenant namespacing,
which also allows enabling global read permissions
on buckets.

Change-Id: Ic37c7161b7dddad49e3c2ab075d7e8b72f436b35
Closes-Bug: #1833072
2019-10-09 15:55:17 +02:00

12 lines
332 B
Bash
Executable File

#!/bin/bash -e
# Wrapper to ensure that old python bytecode isn't hanging around
# after we upgrade the charm with newer libraries
find . -iname '*.pyc' -delete
find . -name '__pycache__' -prune -exec rm -rf "{}" \;
# Re-install dependencies to deal with py2->py3 switch for charm
./hooks/install_deps
./hooks/upgrade-charm.real