lp:~corey.bryant/charm-helpers/swift-2.10.0
- Get this branch:
- bzr branch lp:~corey.bryant/charm-helpers/swift-2.10.0
Branch merges
- David Ames (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedcharmhelpers/contrib/openstack/utils.py (+1/-1)
Branch information
Recent revisions
- 638. By James Page
-
Refactor AppArmorContext
The current design of the AppArmorContext class results in alot of
boilerplate configuration being written:class NeutronMetadata
AppArmorContext (AppArmorContex t): def __init__(self):
super( NeutronMetadata AppArmorContext , self).__init__()
self.aa_ profile = NEUTRON_ METADATA_ AA_PROFILE def __call__(self):
super( NeutronMetadata AppArmorContext , self).__call__()
if not self.ctxt:
return self.ctxt
self._ ctxt.update( {'aa_profile' : self.aa_profile})
return self.ctxtthis might be better done as:
n_metadata = AppArmorContext
(profile_ name=NEUTRON_ METADATA_ AA_PROFILE) thus avoid creating a specific class when not really required.
- 636. By Stuart Bishop
-
[nobuto,r=stub] Terminate and enter error state if execd preinstall hooks fail
- 634. By Liam Young
-
[ivoks, r=gnuoy] Pass an IP to ssh_ip instead of listen_to
Current 'listen_to' setting in hardening is not very useful in cloud environments. Each unit has its own IP and therefore it's impossible to configure the application with a single config file. This patch extends functionality and figures out an IP on every unit and passes it as ssh_ip variable in the template.
Supports interface names, IPs and CIDRs.
- 632. By Liam Young
-
[ivoks, r=gnuoy] Since some values raise ValueError instead of netaddr.
core.AddrFormat Error exception, this change allows is_ip() to catch both exceptions. - 631. By James Page
-
Add fetch helper for determining the upstream version of a package
Refactor openstack.utils to use get_upstream_
version
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:charm-helpers