~openstack-charmers/charms/trusty/openstack-dashboard/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:56:15 UTC
  • Revision ID: james.page@ubuntu.com-20160617105615-0eoimlv97dqp4si6
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: I1f20c2b743f5d3e50fe402894dc65f65d008d404

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)