cookbook 'fantastical', '~> 1.0.0'
fantastical (2) Versions 1.0.0 Follow1
Installs/Configures Fantastical
cookbook 'fantastical', '~> 1.0.0', :supermarket
knife supermarket install fantastical
knife supermarket download fantastical
Fantastical Cookbook
A Chef cookbook to install Fantastical.
Requirements
This cookbook offers a recipe-based and a resource-based install. Use of the
resource requires that you open a mac_app_store
resource prior in your Chef
run.
Usage
Either add the default recipe to your run_list, or implement the resource in
a recipe of your own.
Recipes
default
Opens the Mac App Store and performs a simple install of the app.
Resources
fantastical_app
Used to manage the fantastical app.
Syntax:
fantastical_app 'default' do
source :mac_app_store
system_user 'vagrant'
action %i(install enable start)
end
Actions:
Action | Description |
---|---|
:install |
Install the app |
:upgrade * |
Upgrade the app |
:remove ** |
Uninstall the app |
:enable |
Set the app to start on login |
:disable |
Delete the app's login item |
:start |
Run the app |
:stop |
Kill the running app |
* The :upgrade
action is only supported for App Store installs
** The :remove
action is only supported for :direct
installs
Properties:
Property | Default | Description |
---|---|---|
source | :app_store |
Install via :app_store or :direct download |
system_user | Current logged-in user | User to shell out as for execute commands |
action | %i(install enable run) |
Action(s) to perform |
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
mac-app-store ~> 2.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Fantastical Cookbook CHANGELOG
v1.0.0 (2016-05-27)
- Update for mac-app-store cookbook 2.0
- Convert to custom resources, breaking compatibility with Chef < 12.5
v0.1.0 (2015-05-19)
- Initial release! Support for App Store and direct download installs!
v0.0.1 (2015-04-25)
- 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