~openstack-charmers-next/charms/trusty/cinder-ceph/trunk

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/storage/linux/ceph.py

  • Committer: James Page
  • Date: 2016-06-17 10:42:48 UTC
  • Revision ID: james.page@ubuntu.com-20160617104248-8jocp3zyedl7h5gu
Switch to using charm-store for amulet tests

All OpenStack charms are now directly published to the charm store
on landing; switch Amulet helper to resolve charms using the
charm store rather than bzr branches, removing the lag between
charm changes landing and being available for other charms to
use for testing.

This is also important for new layered charms where the charm must
be build and published prior to being consumable.

Change-Id: I05d8199238727ebca25666196cf9060a94d3e7b8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1231
1231
 
1232
1232
        permitted = self.permitted_sections
1233
1233
        if permitted:
1234
 
            diff = set(conf.keys()).symmetric_difference(set(permitted))
 
1234
            diff = set(conf.keys()).difference(set(permitted))
1235
1235
            if diff:
1236
1236
                log("Config-flags contains invalid keys '%s' - they will be "
1237
1237
                    "ignored" % (', '.join(diff)), level=WARNING)