Merge "Remove deprecated code in packstack/plugins/serverprep_001.py"
This commit is contained in:
commit
f760fe6509
@ -660,13 +660,6 @@ def server_prep(config, messages):
|
|||||||
# enable or disable EPEL according to configuration
|
# enable or disable EPEL according to configuration
|
||||||
manage_epel(hostname, config)
|
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
|
# Add yum repositories if configured
|
||||||
CONFIG_REPO = config["CONFIG_REPO"].strip()
|
CONFIG_REPO = config["CONFIG_REPO"].strip()
|
||||||
if CONFIG_REPO:
|
if CONFIG_REPO:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user