~aisrael/charms/precise/hacluster/fix-charm-proof-lint-test

« back to all changes in this revision

Viewing changes to hooks/hooks.py

  • Committer: Andres Rodriguez
  • Date: 2013-01-29 15:23:42 UTC
  • Revision ID: andreserl@ubuntu.com-20130129152342-f0ggfnfq6hswisjv
Add support for ceph-resource-agents

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
    if True in [ra.startswith('ocf:openstack')
219
219
                for ra in resources.itervalues()]:
220
220
        utils.install('openstack-resource-agents')
 
221
    if True in [ra.startswith('ocf:ceph')
 
222
                for ra in resources.itervalues()]:
 
223
        utils.install('ceph-resource-agents')
221
224
 
222
225
    for res_name, res_type in resources.iteritems():
223
226
        # disable the service we are going to put in HA