This aligns with what the ceph and syslog tasks do.
Signed-off-by: Sage Weil <sage@newdream.net>
except OSError:
pass
for remote in ctx.cluster.remotes.keys():
- sub = os.path.join(path, remote.name)
+ sub = os.path.join(path, remote.shortname)
try:
os.makedirs(sub)
except OSError:
except OSError:
pass
for remote in ctx.cluster.remotes.keys():
- sub = os.path.join(path, remote.name)
+ sub = os.path.join(path, remote.shortname)
try:
os.makedirs(sub)
except OSError: