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

Select Status

RSS

yum-hp (4) Versions 0.0.4

Installs/Configures HP Service Pack for ProLiant YUM repository

Policyfile
Berkshelf
Knife
cookbook 'yum-hp', '~> 0.0.4', :supermarket
cookbook 'yum-hp', '~> 0.0.4'
knife supermarket install yum-hp
knife supermarket download yum-hp
README
Dependencies
Changelog
Quality 17%

yum-hp Cookbook

The yum-hp cookbook install HP SPP YUM repo

Requirements

  • Chef 12.14 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.hpe.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.hpe.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

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

yum-HP Cookbook CHANGELOG

v0.0.4 (2019-10-21)

Import all HPE public keys to verify all package versions, recommended by https://downloads.linux.hpe.com/SDR/keys.html
Get rid of yum cookbook dependency and require chef-client 12.14+
Test with Chef12, Chef13 and Chef14, verify via InSpec

v0.0.3 (2017-08-24)

Changed public key url

v0.0.2 (2015-07-25)

Changed hp-spp repo baseurl

v0.0.1 (2015-07-25)

initial release

Collaborator Number Metric
            

0.0.4 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.0.4 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.0.4 failed this metric

FC064: Ensure issues_url is set in metadata: yum-hp/metadata.rb:1
FC065: Ensure source_url is set in metadata: yum-hp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: yum-hp/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.0.4 passed this metric

Testing File Metric
            

0.0.4 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.0.4 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number