cookbook 'pertino', '= 0.1.0'
pertino (3) Versions 0.1.0 Follow0
Provides primitives for installing pertino-client
cookbook 'pertino', '= 0.1.0', :supermarket
knife supermarket install pertino
knife supermarket download pertino
pertino-cookbook
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 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.
Dependent cookbooks
apt >= 0.0.0 |
yum >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.0 / Unreleased
Initial release of pertino cookbook, @miketheman
Foodcritic Metric
0.1.0 passed this metric
0.1.0 passed this metric