cookbook 'spotify', '~> 1.0.0'
spotify (2) Versions 1.0.0 Follow2
Installs Spotify
cookbook 'spotify', '~> 1.0.0', :supermarket
knife supermarket install spotify
knife supermarket download spotify
Spotify Cookbook
A Chef cookbook for Spotify.
Requirements
This cookbook supports both OS X and Windows, as well as Spotify's unsupported
packages for Ubuntu/Debian.
Usage
Either add the default recipe to your run_list, or implement the resource
directly in a recipe of your own.
Recipes
default
Installs Spotify.
Resources
spotify_app
Used to install or remove the Spotify app.
Syntax:
spotify_app 'default' do
action :install
end
Actions:
Action | Description |
---|---|
:install |
Install the app |
:remove |
Uninstall the app* |
* The remove action is not supported under Windows--the uninstaller has no
silent/unattended option.
Attributes:
Attribute | Default | Description |
---|---|---|
action | :install |
Action(s) to perform |
Providers
Chef::Provider::SpotifyApp::MacOsX
Provider for Max OS X platforms.
Chef::Provider::SpotifyApp::Windows
Provider for Windows platforms.
Chef::Provider::SpotifyApp::Debian
Provider for Ubuntu and Debian platforms.
Chef::Provider::SpotifyApp
A parent provider class for all the platform-specific providers to subclass.
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-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.
Dependent cookbooks
dmg ~> 2.2 |
windows ~> 1.37 |
apt ~> 3.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Spotify Cookbook CHANGELOG
v1.0.0 (2016-03-03)
- Update to new repo key used for Ubuntu/Debian installs
- Bump apt dependency from 2.x to 3.x
- Forcibly install the xdg-utils dependency on Debian platforms
- Convert everything to Chef 12.5 custom resources
v0.1.0 (2015-05-26)
- Initial release! Supports OS X, Windows, and Ubuntu/Debian!
v0.0.1 (2015-05-23)
- Development started
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.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
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.0 failed this metric
1.0.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
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.0 passed this metric
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.0 failed this metric
1.0.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