cookbook 'dropbox', '~> 0.1.0'
dropbox (1) Versions 0.1.0 Follow3
Installs Dropbox
cookbook 'dropbox', '~> 0.1.0', :supermarket
knife supermarket install dropbox
knife supermarket download dropbox
Dropbox Cookbook
A Chef cookbook for installing the Dropbox application.
Requirements
This cookbook currently requires an OS X or Windows node. While Dropbox does
distribute packages for Linux, they are kept in a different download area with
a different API than the OS X and Windows packages.
It consumes the dmg and
windows cookbooks to support
OS X and Windows installs.
Usage
Resources can be called directly, or the main recipe that uses those resources
can be added to your run_list.
Note that this cookbook only installs the Dropbox application. A username and
password will still have to be entered in the UI the first time the application
is started.
Recipes
default
Calls the dropbox
resource to do a package install.
Attributes
default
A custom package URL can be provided.
default['dropbox']['package_url'] = nil
Resources
dropbox
Wraps the fetching and installation of a remote package into one main resource.
Syntax:
dropbox 'dropbox' do
package_url 'https://somewhere.org/dropbox.dmg'
action :install
end
Actions:
Action | Description |
---|---|
:install |
Default; installs the Dropbox application |
Attributes:
Attribute | Default | Description |
---|---|---|
package_url | nil |
Optionally download package from a custom URL |
action | :install |
The action to perform |
Providers
Chef::Provider::Dropbox
A generic provider for all non-platform-specific functionality.
Chef::Provider::Dropbox::MacOsX
Provides the Mac OS X platform support.
Chef::Provider::Dropbox::Windows
Provides the Windows platform support.
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 2014 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
dmg ~> 2.2 |
windows ~> 1.36 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Dropbox Cookbook CHANGELOG
v0.1.0 (2014-12-27)
- Initial release (installation only; OS X and Windows only)
v0.0.1 (2014-12-14)
- Development started
Collaborator Number Metric
0.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 failed this metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 passed this metric
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 failed this metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number