Remove duplication of swift config dir creation/ownership, use swift_utils.py.

This commit is contained in:
Adam Gandelman 2012-12-19 14:34:28 -08:00
parent 665a722348
commit bc52e656c0
1 changed files with 0 additions and 6 deletions

View File

@ -20,12 +20,6 @@ def install():
pkgs = swift.determine_packages(rel)
utils.install(*pkgs)
uid, gid = swift.swift_user()
conf_dir = os.path.dirname(swift.SWIFT_CONF)
if not os.path.isdir(conf_dir):
os.mkdir(conf_dir, 0750)
os.chown(conf_dir, uid, gid)
swift.ensure_swift_dir()
# initialize swift configs.