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

Select Status

RSS

webhook (2) Versions 0.2.0

Installs/configures Webhook

Policyfile
Berkshelf
Knife
cookbook 'webhook', '~> 0.2.0', :supermarket
cookbook 'webhook', '~> 0.2.0'
knife supermarket install webhook
knife supermarket download webhook
README
Dependencies
Changelog
Quality 17%

Webhook Cookbook

Cookbook Version
Build Status
Code Climate
Coverage Status

A cookbook for installing and configuring the various components of
Webhook.

Requirements

See each recipe's notes below for platform-specific limitations.

Usage

This cookbook can be implemented either by calling its resource directly, or
adding the recipes that wrap it to your run_list.

Recipes

default

cli

Installs Node.js and calls the webhook_cli resource to install the Webhook CLI.

Due to current limitations of the nodejs cookbook, this recipe is Linux-only.

app

Calls the webhook_app resource to install the (beta) Webhook GUI app.

The app is distributed only for OS X and Windows, so this recipe is limited to
those platforms. Package upgrade and removal on both platforms is wonky at best
and unavailable to Chef at worst, so the best way for now to do either action
is manually.

Attributes

default

Attribute Default Description
node['webhook']['cli']['version'] nil Install a specific version of the Webhook CLI instead of the latest
node['webhook']['cli']['grunt_version'] nil Install a specific version of Grunt instead of the latest
node['webhook']['app']['package_url'] nil Grab the Webhook app package from a specific URL

Resources

webhook_cli

Wraps the installation of Grunt and the Webhook CLI NPM packages into a single
resource.

Syntax:

webhook_cli 'webhook' do
  version '1.2.3'
  grunt_version '4.5.6'
  action :install
end

Actions:

Action Description
:install Install the Webhook CLI (default)
:uninstall Uninstall the CLI

Attributes:

Attribute Default Description
version 'latest' Version of the wh package to install
grunt_version 'latest' Version of the Grunt dep to install

webhook_app

Downloads and installs the packaged Webhook app (currently for OS X only).

Syntax:

webhook_app 'webhook' do
  package_url 'https://path.to/somewhere'
  action :install
end

Actions:

Action Description
:install Install the Webhook app (default)

Attributes:

Attribute Default Description
package_url nil Grab the package from a custom URL

Providers

webhook_cli

Handles installs/uninstalls of the Webhook CLI, via NPM packages.

webhook_app

Handles installs of the Webhook app, via system packages.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Run style checks and RSpec tests (bundle exec rake)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request

License & Authors

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
nodejs ~> 2.1
windows ~> 1.34

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Webhook Cookbook CHANGELOG

v0.2.0 (2014-10-07)

  • Add support for the Windows and OS X GUI apps

v0.1.0 (2014-08-25)

  • Initial release!

v0.0.1 (2014-08-22)

  • Development started

Collaborator Number Metric
            

0.2.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.2.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.2.0 failed this metric

FC064: Ensure issues_url is set in metadata: webhook/metadata.rb:1
FC065: Ensure source_url is set in metadata: webhook/metadata.rb:1
FC066: Ensure chef_version is set in metadata: webhook/metadata.rb:1
FC069: Ensure standardized license defined in metadata: webhook/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: webhook/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.2.0 passed this metric

Testing File Metric
            

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