openshift / puppet-openshift_origin

Puppet module to create OpenShift Brokers and Nodes. Can be used to create a full OpenShift Origin deployment.
http://forge.puppetlabs.com/openshift/openshift_origin
Other
45 stars 128 forks source link

Add oo-admin-yum-validator for OSE installs #372

Closed sdodson closed 9 years ago

sdodson commented 9 years ago

This utility ensures proper yum repo prioties and sets up excludes for certain packages. This utility is expected to be run after all appopriate yum repos have been created and before installing OSE components.

More details on this tool: https://github.com/openshift/openshift-extras/tree/master/admin/yum-validator

sdodson commented 9 years ago

Still a work in progress but wanted to get this out there for review. While oo-admin-yum-validator is available in openshift-extras I only intend to use this for enterprise installs. This should only be run once due to creation of a marker file on success. This seems a bit like an anti-pattern but, at this time for Enterprise we're not managing the repos in puppet however we want to ensure that repo priorities are in place to avoid customers getting into broken setups.

At some point in the future we should reconsider the yum install method perhaps to create repos based on a hash of repos that includes priorities in the hash.

sdodson commented 9 years ago

[test]

openshift-bot commented 9 years ago

Origin Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests/3253/)

openshift-bot commented 9 years ago

Evaluated for origin up to b35d0ea4883e8274d4cf663774ae228a92ccf09a