lp:~corey.bryant/charm-helpers/swift-2.10.0

Created by Corey Bryant and last modified
Get this branch:
bzr branch lp:~corey.bryant/charm-helpers/swift-2.10.0
Only Corey Bryant can upload to this branch. If you are Corey Bryant please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Corey Bryant
Project:
Charm Helpers
Status:
Merged

Recent revisions

639. By Corey Bryant

Add 2.10.0 to swift list of releases for newton

638. By James Page

Refactor AppArmorContext

The current design of the AppArmorContext class results in alot of
boilerplate configuration being written:

class NeutronMetadataAppArmorContext(AppArmorContext):

    def __init__(self):
        super(NeutronMetadataAppArmorContext, self).__init__()
        self.aa_profile = NEUTRON_METADATA_AA_PROFILE

    def __call__(self):
        super(NeutronMetadataAppArmorContext, self).__call__()
        if not self.ctxt:
            return self.ctxt
        self._ctxt.update({'aa_profile': self.aa_profile})
        return self.ctxt

this might be better done as:

 n_metadata = AppArmorContext(profile_name=NEUTRON_METADATA_AA_PROFILE)

thus avoid creating a specific class when not really required.

637. By James Page

Enable access network for DNS HA

636. By Stuart Bishop

[nobuto,r=stub] Terminate and enter error state if execd preinstall hooks fail

635. By Liam Young

[gnuoy, trivial] lint fix

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.

633. By James Page

Update nuage driver for >= mitaka

632. By Liam Young

[ivoks, r=gnuoy] Since some values raise ValueError instead of netaddr.core.AddrFormatError 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

630. By James Page

[trivial] Add mapping for yakkety->newton for amulet helpers

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:charm-helpers
This branch contains Public information 
Everyone can see this information.

Subscribers