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

rhel (1) Versions 0.1.0

Installs/Configures rhel subscription manager

Policyfile
Berkshelf
Knife
cookbook 'rhel', '~> 0.1.0', :supermarket
cookbook 'rhel', '~> 0.1.0'
knife supermarket install rhel
knife supermarket download rhel
README
Dependencies
Changelog
Quality 50%

RHEL Cookbook

Provides resources for subscription management

Requirements

  • RHEL - 7.0

packages

  • subscription-manager

Resource/Provider

rhel_registration

actions

  • register - registers the node
  • unregister - unregisters the node

attributes

  • proxy - String - proxy url
  • proxyuser - String -proxy user
  • proxypassword - String - proxy password
  • hostname - String - system name
  • username - String -username for submanagement auth
  • password - String - password for submanagement auth
  • serverurl - String - server url
  • insecure - Boolean - do not check server ssl
  • baseurl - String -base url for content
  • type - String - type of unit to register
  • org - String - org key
  • environment - String - environment in org
  • release - Strin - release version
  • auto_attach - Boolean - sets --auto-attach flag
  • force - Boolean - sets --force flag
  • activationkey - String - activation key to use
  • servicelevel - String - system preference when subscribing

rhel_subscription

actions

  • attach - attaches the subscription
  • remove - removes the subscription

attributes

  • proxy - String - proxy url
  • proxyuser - String - proxy user
  • proxypassword - String - proxy password
  • pool - Array - 1 or more ids for subscriptions
  • quantity - Integer - number of subscriptions to attach
  • auto - Boolean - automatically attach the best match
  • serial - Array - one or more serials to use with remove
  • servicelevel - sets the service level to use for subscriptions
  • all - remove all subscriptions

Usage

rhel::default

Just include rhel in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[rhel]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

copyright (C) 2014 Jim Rosser

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the “Software”), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

rhel CHANGELOG

This file is used to list changes made in each version of the rhel cookbook.

0.1.0

  • [jarosser06] - Initial release of rhel

Collaborator Number Metric
            

0.1.0 failed this metric

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

Foodcritic Metric
            

0.1.0 failed this metric

FC085: Resource using new_resource.updated_by_last_action to converge resource: rhel/libraries/provider_rhel_registration.rb:16
FC085: Resource using new_resource.updated_by_last_action to converge resource: rhel/libraries/provider_rhel_registration.rb:40
FC085: Resource using new_resource.updated_by_last_action to converge resource: rhel/libraries/provider_rhel_registration.rb:50
FC085: Resource using new_resource.updated_by_last_action to converge resource: rhel/libraries/provider_rhel_registration.rb:52
FC085: Resource using new_resource.updated_by_last_action to converge resource: rhel/libraries/provider_rhel_subscription.rb:35
FC085: Resource using new_resource.updated_by_last_action to converge resource: rhel/libraries/provider_rhel_subscription.rb:38
FC085: Resource using new_resource.updated_by_last_action to converge resource: rhel/libraries/provider_rhel_subscription.rb:54
FC085: Resource using new_resource.updated_by_last_action to converge resource: rhel/libraries/provider_rhel_subscription.rb:56
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.0 passed this metric