]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
[RM-22712] Use recursive dir creation 459/head
authorPaulius Šukys <psukys@users.noreply.github.com>
Tue, 16 Jan 2018 20:09:36 +0000 (21:09 +0100)
committerGitHub <noreply@github.com>
Tue, 16 Jan 2018 20:09:36 +0000 (21:09 +0100)
ceph_deploy/mgr.py

index d3991c18b1287898d93693e61ce92738ef73da0d..a44e576d2df7b1f8fc556cc4f2d739329a11ca8b 100644 (file)
@@ -32,7 +32,7 @@ def create_mgr(distro, name, cluster, init):
         name=name
         )
 
-    conn.remote_module.safe_mkdir(path)
+    conn.remote_module.safe_makedirs(path)
 
     bootstrap_keyring = '/var/lib/ceph/bootstrap-mgr/{cluster}.keyring'.format(
         cluster=cluster