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

pertino (3) Versions 0.2.0

Provides primitives for installing pertino-client

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

pertino-cookbook

Cookbook
CircleCI
Coverage Status
GitHub issues
GitHub license

This cookbook exposes a resource to set up a connection to the Pertino network.

Tested

  • Ubuntu 14.04
  • Ubuntu 12.04
  • CentOS 6.6

  • Chef 11.18.12, 12.0.3

See [TESTING.md](TESTING.md) for more.

Usage

Add depends 'pertino' to your application cookbook's metadata.rb.

In a recipe, create a pertino_client resource and provide it with authentication
details:

# UserPass Auth
pertino_client 'default' do
  auth_mode 'userpass'
  username 'my_pertino_username'
  password 'my_super_secret_password'
end

# Device Auth
pertino_client 'default' do
  auth_mode 'api_key'
  api_key 'key_source' # could be from a databag, attribute, etc.
end

Note: The resource name default isn't used.

See [test/fixtures/cookbooks](test/fixtures/cookbooks) for some more examples.

Recommended: Pair with a logrotate_app resource
to ensure that the log files do not grow beyond manageable.

License and Authors

Author:: Mike Fiedler (miketheman@gmail.com)

See LICENSE for details.

Dependent cookbooks

apt >= 0.0.0
yum >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.2.0 / 2016-02-14

  • [BUGFIX] Remove Chef 11 service provider detection due to package change. See #1
  • [TESTING] Add kitchen testing for Ubuntu targets via CI
  • [TESTING] Use ChefDK as preferred method for CI testing
  • [TESTING] Create method to ignore user auth failures when testing

0.1.1 / 2015-02-19

  • [OPTIMIZE] Add Chef 11 support for service provider detection
  • [OPTIMIZE] Add supports entries to metadata.rb to be detected by Supermarket

0.1.0 / 2015-02-14

Initial release of pertino cookbook, @miketheman

Collaborator Number Metric
            

0.2.0 failed this metric

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

Contributing File Metric
            

0.2.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
            

0.2.0 failed this metric

FC064: Ensure issues_url is set in metadata: pertino/metadata.rb:1
FC065: Ensure source_url is set in metadata: pertino/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pertino/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.2.0 passed this metric

Testing File Metric
            

0.2.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
            

0.2.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