From: Sage Weil Date: Fri, 4 Sep 2015 12:47:12 +0000 (-0400) Subject: fabfile: create /home/autobuild-ceph X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cbd3ba217f801a00ff06b91f0d9605487069feb9;p=autobuild-ceph.git fabfile: create /home/autobuild-ceph ...so that .rpmmacros can be set properly. Signed-off-by: Sage Weil --- diff --git a/fabfile.py b/fabfile.py index 21879de..1f3613d 100644 --- a/fabfile.py +++ b/fabfile.py @@ -179,6 +179,7 @@ def _rh_gitbuilder(flavor, git_repo, extra_remotes={}, extra_packages=[], ignore 'autobuild-ceph', ]), ) + sudo('mkdir -p /home/autobuild-ceph && chown autobuild-ceph /home/autobuild-ceph') with cd('/home/autobuild-ceph'): sudo('lsb_release -d -s | grep CentOS | grep -q release\ 7 && echo "%dist .el7" > .rpmmacros')