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

device42 (1) Versions 1.0.1

Configure requests to Device42 API

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

Device42 Cookbook

Provides Chef Custom Resource for accessing the Device42 REST API.

Requirements

Chef

  • Chef 14.0+

Attributes

  • ['device42']['instance'] - The URL of your Device42 instance.
  • ['device42']['user'] - The Device42 user with RESTful API access
  • ['device42']['password'] - Device42 API user's password

Usage

This cookbook requires a Device42 appliance installed in your environment. Click here for a free trial of Device42. The Device42 instances should be configured with a signed certificate, using a self-signed certificate is not supported.

Resources

Device

Actions

  • :create, default: true

Properties

  • :device_name, String, required: true
  • :user, String, required: true
  • :password, String, required: true
  • :url, String, required: true

Helpers

IPAM

Methods

  • suggest_ip(subnet) - Suggests and reserves the next available IP in a passed subnet in Device42
  • reserve_ip(ip) - Reserves an passed IP in Device42

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Device42 Cookbook Changelog

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

1.0.1 (2019-05-02)

  • Updated suggest_ip method to reserve the suggested IP

Collaborator Number Metric
            

1.0.1 failed this metric

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

Contributing File Metric
            

1.0.1 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.1 failed this metric

FC067: Ensure at least one platform supported in metadata: device42/metadata.rb:1
FC069: Ensure standardized license defined in metadata: device42/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

1.0.1 passed this metric

Testing File Metric
            

1.0.1 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.1 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