Merge "Remove deprecated code in packstack/plugins/serverprep_001.py"

This commit is contained in:
Jenkins 2014-12-15 15:49:39 +00:00 committed by Gerrit Code Review
commit f760fe6509

View File

@ -660,13 +660,6 @@ def server_prep(config, messages):
# enable or disable EPEL according to configuration
manage_epel(hostname, config)
reponame = 'rhel-server-ost-6-4-rpms'
server.clear()
server.append('yum install -y yum-plugin-priorities || true')
server.append('rpm -q epel-release && yum-config-manager '
'--setopt="%(reponame)s.priority=1" '
'--save %(reponame)s' % locals())
# Add yum repositories if configured
CONFIG_REPO = config["CONFIG_REPO"].strip()
if CONFIG_REPO: