From: Alfredo Deza Date: Fri, 19 Jul 2013 12:30:23 +0000 (-0400) Subject: fix a typo for wrong path reference X-Git-Tag: v1.2~30^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=db8e98ffb79a150c9b0c5fd91467f8ce3ca4b9bc;p=ceph-deploy.git fix a typo for wrong path reference --- diff --git a/ceph_deploy/mon.py b/ceph_deploy/mon.py index a89fd62..2bf1b4f 100644 --- a/ceph_deploy/mon.py +++ b/ceph_deploy/mon.py @@ -29,8 +29,8 @@ def create_mon(cluster, monitor_keyring, init, paths): os.makedirs(path) if not os.path.exists(done_path): - if not os.path.exists(path.mon.constants.tmp_path): - os.makedirs(path.mon.constants.tmp_path) + if not os.path.exists(paths.mon.constants.tmp_path): + os.makedirs(paths.mon.constants.tmp_path) keyring = paths.mon.keyring(cluster, hostname) with file(keyring, 'w') as f: