cookbook 'divvy', '= 0.2.0'
divvy (4) Versions 0.2.0 Follow2
Installs/Configures Divvy
cookbook 'divvy', '= 0.2.0', :supermarket
knife supermarket install divvy
knife supermarket download divvy
Divvy Cookbook
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
- 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
License & Authors
- Author: Jonathan Hartman j@p4nt5.com
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
mac-app-store ~> 1.0 |
macosx_accessibility ~> 1.0 |
windows ~> 1.36 |
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
0.2.0 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/497d1fca298782e322d28a0b/divvy/metadata.rb:1