~corey.bryant/charms/trusty/keystone/mkdir755

« back to all changes in this revision

Viewing changes to hooks/keystone_utils.py

[hopem,r=jamespage]

Fix accidentally removed peer_store_and_set() for identity
settings to ensure that they are shared with and forwardable by
all peers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1471
1471
        relation_data['ca_cert'] = b64encode(ca_bundle)
1472
1472
        relation_data['https_keystone'] = 'True'
1473
1473
 
 
1474
    peer_store_and_set(relation_id=relation_id, **relation_data)
1474
1475
    # NOTE(dosaboy): '__null__' settings are for peer relation only so that
1475
1476
    # settings can flushed so we filter them out for non-peer relation.
1476
1477
    filtered = filter_null(relation_data)
1477
1478
    relation_set(relation_id=relation_id, **filtered)
1478
 
    for rid in relation_ids('cluster'):
1479
 
        relation_set(relation_id=rid, **relation_data)
1480
1479
 
1481
1480
 
1482
1481
def ensure_valid_service(service):