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

RSS

divvy (4) Versions 0.2.0

Installs/Configures Divvy

Berkshelf/Librarian
Policyfile
Knife
cookbook 'divvy', '= 0.2.0'
cookbook 'divvy', '= 0.2.0', :supermarket
knife cookbook site install divvy
knife cookbook site download divvy
README
Dependencies
Changelog
Quality

Divvy Cookbook

Cookbook Version Build Status Code Climate Coverage Status

A Chef cookbook to install Divvy.

Requirements

This cookbook supports all the current platform and distribution methods offered by the folks behind Divvy (an OS X App Store app and direct site downloads for both OS X and Windows).

It offers recipe-based and resource-based installs. A resource-based install from the Mac App Store requires an already-open instance of the mac_app_store resource.

On either supported platform, a user must be signed in for the install to complete successfully.

Usage

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

Recipes

default

Installs Divvy (from the Mac App Store or a Windows direct download by default), sets it to start on login, and starts it up.

Resources

divvy_app

Used to perform installation of the app.

Syntax:

divvy_app 'default' do
    action [:install, :start]
end

Actions:

Action Description
:install Install the app
:enable Enable the app to start on login
:start Run the app

Attributes:

Attribute Default Description
action [:install, :enable, :start] Action(s) to perform

Providers

Chef::Provider::DivvyApp::MacOsX::AppStore

Provider for installing Divvy from the Mac App Store (default for OS X).

Chef::Provider::DivvyApp::MacOsX::Direct

Provider to do a direct download and install for OS X from the vendor's site.

Chef::Provider::DivvyApp::Windows

Provider to do a direct download and install from the vendor's site (default for Windows).

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

Dependent cookbooks

windows ~> 1.36
macosx_accessibility ~> 1.0
mac-app-store ~> 1.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Divvy Cookbook CHANGELOG

v0.2.0 (2015-05-09)

  • Add support for non-App Store direct downloads for OS X
  • Add support for Windows
  • Grant required Accessibility privileges automatically on OS X
  • Add a :start action and start Divvy after it's installed
  • Add an :enable action to start Divvy on log-in and do it after install

v0.1.0 (2015-04-25)

  • Initial release!

v0.0.1 (2015-04-24)

  • Development started

Foodcritic Metric
            

0.2.0 failed this metric

FC031: Cookbook without metadata file: /tmp/cook/497d1fca298782e322d28a0b/divvy/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/497d1fca298782e322d28a0b/divvy/metadata.rb:1