198
199
'/var/lib/ceph/mon/ceph-{}/keyring'.format(
201
202
'auth', 'get-or-create', 'client.{}'.format(name),
204
205
for subsystem, subcaps in caps.iteritems():
209
210
output = subprocess.check_output(cmd).strip() # IGNORE:E1103
210
211
# get-or-create appears to have different output depending
211
212
# on whether its 'get' or 'create'