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

hprest (1) Versions 1.0.0

cookbook for installing and using hprest to configure and manage server settings

Policyfile
Berkshelf
Knife
cookbook 'hprest', '~> 1.0.0', :supermarket
cookbook 'hprest', '~> 1.0.0'
knife supermarket install hprest
knife supermarket download hprest
README
Dependencies
Changelog
Quality 17%

hprest Cookbook

Table of Contents

  1. Description
  2. Requirements
  3. Platforms - which platforms are supported
  4. Usage
  5. How to contribute

Description

hprest is a Chef cookbook that installs the Hewlett-Packard RESTful Interface Tool, and provides
recipes to use Chef to manage your node's settings

What does hprest do?

hprest installs the hprest (RESTful Interface Tool) on your node, and provides custom resources
to send valid hprest commands

Requirements

hprest has no dependencies, and only requires the node to be able to access Hewlett-Packard Enterprise's
repositories.

It is strongly suggested by Chef and us that chef-client be run as root or administrator, to ensure that everything is working properly. If root/administrator is not used, hprest may fail.

Platforms

  • Windows Server 2012, Ubuntu, Debian, Red Hat Linux

Chef

  • Chef 12.0 or later

Usage

hprest::default

include hprest in your node's run_list to install hprest.

Custom Resources

hprest includes an 'hprest' resource that is used to provide valid hprest commands to the node.

This can be used by adding in commands you wish to use in the service.rb file

Example service.rb file

hprest 'login 10.0.0.100 -u admin -p password'
hprest 'types'
hprest 'select HpBios.'
hprest 'set AdminName="John Doe"'
hprest 'get AdminName'
hprest 'commit'

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

Authors: TODO: List authors

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

hprest CHANGELOG

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

1.0.0

  • [lumbajack] - Initial release of hprest

Collaborator Number Metric
            

1.0.0 failed this metric

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

Contributing File Metric
            

1.0.0 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
            

1.0.0 failed this metric

FC066: Ensure chef_version is set in metadata: hprest/metadata.rb:1
FC117: Do not use kind_of in custom resource properties: hprest/resources/hprest.rb:3
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.0 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
            

1.0.0 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