Coder Social home page Coder Social logo

priestjim / chef-yumrepo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atomic-penguin/cookbook-yumrepo

3.0 3.0 5.0 213 KB

Opscode Chef cookbook used for adding extra Yum repositories to RHEL-based OSes, originally written by Eric Wolfe, enhanced to support more repositories

Home Page: https://github.com/atomic-penguin/cookbook-yumrepo

Ruby 100.00%

chef-yumrepo's Introduction

chef-yumrepo

Manages Yum Repository files in /etc/yum.repos.d on CentOS / RHEL 5.x.

Yum repositories included in this recipe: EPEL, ELFF, Dell OMSA, Dell Community, Dell Firmware, VMware Tools, Remi, Atomic and more...

Requirements

This cookbook requires RHEL or CentOS 5.x, and newer. It has not been tested on other platforms. It probably will not work with RHEL 4 or CentOS 4, especially if you have not taken action to manually install yum on that platform.


Notes

RHEL 6 support is fairly well tested in the dell, vmware-tools, and epel recipes. Let me know if you find a platform 6 bug, related to any one of the recipes.

The yumrepo::dell recipe requires Dell manufactured hardware. This recipe should automatically disable itself if non-Dell hardware is detected by Ohai

A breaking change in this cookbook is the introduction of an upgrade recipe for vmware-tools. Since VMWare does not support upgrades on their packaged vmware-tools, I created a vmware-tools-upgrade recipe to migrate from vmware-tools 4.1 to 5.0u1. You should ensure the yumrepo recipes are not in a base role, until all your nodes have been migrated to 5.0u1. Due to this incompatibility, vmware-tools has been removed from the default recipe. If you still need vmware-tools for ESX 4.1, use the previous version of this cookbook 0.15.4.

The yumrepo::vmware-tools recipe requires a VMWare Virtual Machine. This recipe should automatically disable itself if non-VMWare hardware is detected by Ohai.

Individual Recipe Usage:

yumrepo::default

Includes recipes:

  • yum::yum
  • epel
  • dell

yumrepo::epel

yumrepo::dell

  • Provides repo files for the following Dell repositories.

    • hardware / Open Manage Server Administrator
    • community / formerly the software repository
    • firmware / Convenient but unsupported by Dell
  • repo['dell']['download_firmware'] = true||false

    • disables/enables community/firmware repositories in dell recipe
    • OMSA (hardware) repository will detect Dell hardware platform and enable itself, dynamically. It is not affected by this attribute.

yumrepo::rbel

  • Provides repo files for rbel.frameos.org
    • Ruby and Opscode Chef packages for RHEL distros

yumrepo::remi

  • Provides repo files for rpms.famillecollet.com
    • MySQL bleeding-edge, PHP bleeding-edge etc

yumrepo::rpmforge

  • Provides repo files for Dag Wieers repository
    • Many many useful tools and packages

yumrepo::atomic

  • Provides repo files for Atomic Rocket Turtle
    • Many many useful packages, stable and very well tested, ranging from PHP/MySQL to SpamAssassin etc.

yumrepo::elrepo

  • Provides repo files for the ELRepo repository
    • Many useful system packages, usually ships the latest available Linux kernel in a fully-functioning EL configuration

yumrepo::vmware-tools-upgrade

  • Removes vmware-tools for ESX 4.1 installed with this cookbook. Then includes the yumrepo::vmware-tools recipe to re-install VMWare Tools compatiblie with ESX 5.0u1. This must be in your run list before the yumrepo::vmware-tools recipe to successfully upgrade the tools with the recipe.

yumrepo::vmware-tools

  • Uninstalls VMwareTools rpm installed from the VMware ESX "Install/Upgrade VMware Tools" menu
  • Uninstalls manually installed vmware-tools packages, the recipe needs to first run vmware-uninstall-tools.pl to use the RPM packages from the repo.
  • Provides RPM keys and repo file for VMware Tools for the ESX 4.1 release

Attributes

  • repo['vmware']['release'] (ESX version number, default 5.0u1)
    • This is used to determine the correct URL in the VMware RHEL5/CentOS repository.

yumrepo::annvix

  • Annvix repository for packages usable with Red Hat Enterprise Linux and CentOS.

yumrepo::postgresql9

yumrepo::zenoss

yumrepo::corporate

  • Generic example recipe to be used with an internal Yum mirror, or repository.
    • By default this recipe uses the basename of your domain as the repository name.

yumrepo::jenkins

  • Jenkins CI yum repository

License and Author

Author:: Panagiotis Papadomitsos Copyright:: 2012

Author:: Eric G. Wolfe Copyright:: 2010-2011

Author:: Tippr, Inc. Copyright:: 2010

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.