/kindle-chef

A Chef cookbook for the Amazon Kindle app

Primary LanguageRuby

Kindle Cookbook

Cookbook Version Build Status Windows Build Status Code Climate Coverage Status

A Chef cookbook to install the Amazon Kindle app.

Requirements

This cookbook offers recipe-based and resource-based install options. It supports OS X (App Store or direct download) and Windows (direct download only) platforms.

As of v1.0.0, it requires Chef 12.5+ or Chef 12.x and the compat_resource cookbook.

Usage

Either add the default recipe to your run_list, or implement the resource in a recipe of your own.

Recipes

default

Performs a simple install of the app using the defaults for your platform.

Resources

kindle_app

Used to perform installation of the app.

Syntax:

kindle_app 'default' do
    action :install
end

Actions:

Action Description
:install Install the app
*:upgrade Upgrade the app

* For OS X app store installs only.

Properties:

Property Default Description
source ** Source to install from**
action :install Action(s) to perform

** OS X supports :app_store (default) and :direct download. Windows supports :direct download only.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Add tests for the new feature; ensure they pass (rake)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request

License & Authors

Copyright 2015-2016, Jonathan Hartman

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.