~ubuntu-repository-cache-charmers/ubuntu-repository-cache/trunk

  • Committer: mergebot at canonical
  • Author(s): "Haw Loeung"
  • Date: 2019-09-09 06:08:48 UTC
  • mfrom: (260.2.9 ubuntu-repository-cache)
  • Revision ID: mergebot@juju-139df4-prod-is-toolbox-0.canonical.com-20190909060848-xfi7p8lmlctqkwpd
Don't use hookenv.config() for apache root

ubuntu_repository_cache_sync() runs as the 'www-sync' user but permissions of charm/.juju-persistent-config as used by hookenv.config() are restricted to root 0600. Instead, we work out apache root from config file.

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/no-hookenv-config-for-apache-root/+merge/372458
Reviewed-by: Joel Sing <joel.sing@canonical.com>
Filename Latest Rev Last Changed Committer Comment Size
..
files 166 9 years ago Robert Jennings Add nrpe support Diff
hooks 1 9 years ago Robert Jennings First post: just a charm skeleton Diff
lib 1 9 years ago Robert Jennings First post: just a charm skeleton Diff
scripts 1 9 years ago Robert Jennings First post: just a charm skeleton Diff
templates 3 9 years ago Robert Jennings Partial port of squid-rp-mirror to python This is Diff
tests 1 9 years ago Robert Jennings First post: just a charm skeleton Diff
vendor 229.2.1 7 years ago Christopher Glass Refactored metadata sync to make retry logic more Diff
.bzrignore 229.3.1 7 years ago Christopher Glass * Added semaphore helper in util.py. * Switched un 48 bytes Diff Download File
charm-helpers.yaml 250.1.2 5 years ago Barry Price Remove obsolete lines from charm-helpers.yaml 118 bytes Diff Download File
config.yaml 255.1.3 4 years ago Haw Loeung Allow overriding storage space used by squid cache 5.7 KB Diff Download File
copyright 20 9 years ago Robert Jennings Updates to documentation and added missing copyrig 756 bytes Diff Download File
DESIGN.md 141 9 years ago Robert Jennings Spelling fixes 4 KB Diff Download File
icon.svg 3 9 years ago Robert Jennings Partial port of squid-rp-mirror to python This is 14.5 KB Diff Download File
LICENSE.md 237 6 years ago Christopher Glass Added LICENSE. 34.3 KB Diff Download File
Makefile 250.1.1 5 years ago Barry Price Update charmhelpers script from upstream, add a Ma 1.4 KB Diff Download File
metadata.yaml 247.1.1 5 years ago Alexandre Gomes Add bionic aas supported series 821 bytes Diff Download File
README.md 249 5 years ago Ryan Finnie [r=rcj] Add expanded configuration options for arc 9.2 KB Diff Download File
RELEASING.md 239 6 years ago Christopher Glass More documentation changes. 1.3 KB Diff Download File
revision 1 9 years ago Robert Jennings First post: just a charm skeleton 2 bytes Diff Download File
TESTING.md 234.2.1 7 years ago Francis Ginther Add 'mirror-series' option to reduce the amount of 1 KB Diff Download File
tox.ini 255.1.4 4 years ago Haw Loeung [trivial] Ignore vender/* files for tests 427 bytes Diff Download File