GitXplorerGitXplorer
m

pertino-cookbook

public
0 stars
4 forks
0 issues

Commits

List of commits on branch master.
Unverified
3210e2c997da02119b94e12e8df169f07a3e936a

Release pertino-cookbook, v0.2.0

mmiketheman committed 9 years ago
Unverified
a24c9cb0c70eac9e7bb5ca6f9aaa7ba45aeb59be

Use platform detection for service provider

mmiketheman committed 9 years ago
Unverified
caa5f5cc3f5c20836b97c1434742e639ccb55f0a

ignore pauth failures in CI

mmiketheman committed 9 years ago
Unverified
a03c6bb52e822ef05a215700721c1e81059012c0

Use ChefDK instead of installing rubygems

mmiketheman committed 9 years ago
Unverified
9f2b629aba6d1b92bc09446e5c5893b80a546c1f

DRY up the Berksfile paths

mmiketheman committed 9 years ago
Unverified
55a65d7c43bd772630d4b26881080a6ea6f21565

add kitchen testing to circle

mmiketheman committed 10 years ago

README

The README file for this repository.

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