Don't initialize submodules and use f20-patches opm

Change-Id: I775613ed9d1a6914631592b6f90853818e8d497e
This commit is contained in:
Lukas Bezdicka 2014-11-20 17:56:55 +01:00
parent 4d534c12e9
commit 3a2d755c2e
1 changed files with 2 additions and 3 deletions

View File

@ -15,7 +15,7 @@ MODULES_DIR = os.environ.get('PACKSTACK_PUPPETDIR',
'/usr/share/openstack-puppet/modules')
MODULES_REPO = ('https://github.com/redhat-openstack/'
'openstack-puppet-modules.git')
MODULES_BRANCH = 'havana'
MODULES_BRANCH = 'f20-patches'
class InstallModulesCommand(Command):
@ -49,8 +49,7 @@ class InstallModulesCommand(Command):
pass
print 'Cloning %(repo)s to %(destination)s' % locals()
cmd = ('cd %(basedir)s; git clone %(repo)s %(repodir)s; '
'cd %(repodir)s; git checkout %(branch)s; '
'git submodule update --init' % locals())
'cd %(repodir)s; git checkout %(branch)s;' % locals())
proc = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
out, err = proc.communicate()