A Chef cookbook to install the Amazon Kindle app.
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.
Either add the default recipe to your run_list, or implement the resource in a recipe of your own.
default
Performs a simple install of the app using the default provider for your platform.
kindle_app
Used to perform installation of the app.
Syntax:
kindle_app 'default' do
action :install
end
Actions:
Action | Description |
---|---|
:install |
Install the app |
Attributes:
Attribute | Default | Description |
---|---|---|
action | :install |
Action(s) to perform |
Chef::Provider::KindleApp::MacOsX::AppStore
Provider for doing installs from the Mac App Store (default for OS X).
Chef::Provider::KindleApp::MacOsX::Direct
Provider for downloading the .dmg file directly from Amazon.
Chef::Provider::KindleApp::Windows::Direct
Provider for downloading the .exe file directly from Amazon (default for Windows).
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Add tests for the new feature; ensure they pass (
rake
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Author: Jonathan Hartman j@p4nt5.com
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.