Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

yum-hp (3) Versions 0.0.1

Installs/Configures HP Service Pack for ProLiant YUM repository

Berkshelf/Librarian
Policyfile
Knife
cookbook 'yum-hp', '= 0.0.1'
cookbook 'yum-hp', '= 0.0.1', :supermarket
knife cookbook site install yum-hp
knife cookbook site download yum-hp
README
Dependencies
Changelog
Quality

yum-hp Cookbook

The yum-hp cookbook install HP SPP YUM repo

Requirements

  • Chef 12 or higher
  • yum cookbook version 3.2.0 or higher

Attributes

The following attributes are set by default

default['yum-hp']['repositories'] = %w{hp-spp}
default['yum']['hp-spp']['repositoryid'] = 'hp-spp'
default['yum']['hp-spp']['description'] = 'HP Service Pack Packages for Enterprise Linux 7 - $basearch'
default['yum']['hp-spp']['baseurl'] = 'http://downloads.linux.hp.com/repo/spp/rhel/7/$basearch/current'
default['yum']['hp-spp']['gpgkey'] = 'http://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub'
default['yum']['hp-spp']['gpgcheck'] = true
default['yum']['hp-spp']['enabled'] = true
default['yum']['hp-spp']['managed'] = true

Recipes

  • default - Walks through node attributes and feeds a yum_resource parameters. The following is an example a resource generated by the recipe during compilation.
  yum_repository 'hp' do
    baseurl http://downloads.linux.hp.com/repo/spp/rhel/7/$basearch/current'
    description 'HP Service Pack Packages for Enterprise Linux 7 - $basearch'
    enabled true
    gpgcheck true
    gpgkey 'http://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub'
  end

Usage Example

To disable the hp repository through a Role or Environment definition

default_attributes(
  :yum => {
    :hp-spp => {
      :enabled => {
        false
       }
     }
   }
 )

License & Authors

Copyright:: 2015 Nerijus Bendziunas

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.

Dependent cookbooks

yum ~> 3.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

yum-HP Cookbook CHANGELOG

v0.1.0 (2015-07-25)

initial release

Foodcritic Metric
            

0.0.1 passed this metric