def set_ceph_conf(self, subsys, key, value): if subsys not in self._ctx.ceph['ceph'].conf: self._ctx.ceph['ceph'].conf[subsys] = {} self._ctx.ceph['ceph'].conf[subsys][key] = value write_conf( self._ctx ) # XXX because we don't have the ceph task's config object, if they
def clear_ceph_conf(self, subsys, key): del self._ctx.ceph['ceph'].conf[subsys][key] write_conf(self._ctx)
def set_ceph_conf(self, subsys, key, value): if subsys not in self._ctx.ceph['ceph'].conf: self._ctx.ceph['ceph'].conf[subsys] = {} self._ctx.ceph['ceph'].conf[subsys][key] = value write_conf(self._ctx) # XXX because we don't have the ceph task's config object, if they