~gandelman-a/charms/precise/mysql/ceph_refactor

« back to all changes in this revision

Viewing changes to hooks/ceph.py

  • Committer: Adam Gandelman
  • Date: 2013-02-27 23:42:41 UTC
  • Revision ID: adamg@canonical.com-20130227234241-6rwzezft6jwf3cpm
Call local function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
    keyring = keyring_path(service)
116
116
    with open('/etc/ceph/ceph.conf', 'w') as ceph_conf:
117
117
        ceph_conf.write(CEPH_CONF % locals())
118
 
    ceph.modprobe_kernel_module('rbd')
 
118
    modprobe_kernel_module('rbd')
119
119
 
120
120
 
121
121
def image_mapped(image_name):