openshift/openshift-extras — pull request #281 by Miciah (2014-01-29 06:07:05+00:00)
Title: openshift.ks: Fix JBoss repo configuration for Yum

Revert commit d31221fc4037f1f24944154c96492da0543afeb3, which overlooked that need_jbosseap_repo, need_jbossews_repo, and need_jbosseap_cartridge_repo are used in configure_yum_repos and configure_ose_yum_repos (via evaluation of the result of string interpolation). The commit being reverted thus prevents JBoss repositories from being configured when the Yum install method is used.

This commit restores the CONF_NO_JBOSSEWS variable (for internal use only), renames need_jbosseap_repo back to need_jbosseap_cartridge_repo, and restores the definition of need_jbosseap_repo and need_jbossews_repo.

parse_cartridges: Set the CONF_NO_JBOSSEWS variable according to whether the jbossews cartridge is being installed.

This commit fixes bug 1059077.