lp:~ajkavanagh/charm-helpers/clean-up-render
- Get this branch:
- bzr branch lp:~ajkavanagh/charm-helpers/clean-up-render
Branch merges
- David Ames (community): Approve
-
Diff: 93 lines (+36/-8)3 files modifiedcharmhelpers/contrib/openstack/templating.py (+5/-2)
charmhelpers/core/hookenv.py (+1/-0)
charmhelpers/core/host.py (+30/-6)
Branch information
Recent revisions
- 782. By Alex Kavanagh
-
Change the debug logs in write_file() back to DEBUG from TRACE
They are actually quite useful as DEBUG messages when the files do
actually change. - 781. By Alex Kavanagh
-
Update the core.host.
write_file( ...) function to do less work The primary motivation for this change is to do less work, touch the
filesystem less, and try to clean the logs up a bit. This change is
to the rendering of configuration files, which generates noise in the
logs (at INFO) level, and often results in writing the exact same
content, thus updating the atime of the file even when the contents
haven't changed.This change detects if the content will change, and if not, doesn't
write the file. It does detect if the uid,gid is changing and takes
the appropriate action. The logs are demoted to the lowest level of
TRACE, and are only generated IFF the file is actually written or
the uid/gid is changed. - 780. By David Ames
-
[jamespage, r=thedac,tinwood] Refactoring ApacheSSLContext for network-space support
- 778. By Liam Young
-
[gnuoy, r=james-page] Change name of OpenStack extensions
The neutron-api charm already manages the extensions setting within a context
inside the charm. In the neutron-api charm it is called 'extension_drivers'
rather than 'extensions'. In a bid to keep things consistent this change
updates the recently added patch to switch from 'extensions' to
'extension_drivers'
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:charm-helpers