lp:~gnuoy/charm-helpers/add-svc-params

Created by Liam Young and last modified
Get this branch:
bzr branch lp:~gnuoy/charm-helpers/add-svc-params
Only Liam Young can upload to this branch. If you are Liam Young please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Liam Young
Project:
Charm Helpers
Status:
Merged

Recent revisions

640. By Liam Young

Make the no_origin and use_source additive options additive to prevent the same list having to be replicated in charms

639. By Liam Young

Add the ability to pass in the use_source and no_origin lists to stop having to raise changes to charm-helpers everytime a new service is added to an amulet test which should be added to the list

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

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