cookbook 'webhook', '= 0.1.0'
The webhook cookbook has been deprecated
Author provided reason for deprecation:
The webhook cookbook has been deprecated and is no longer being maintained by its authors. Use of the webhook cookbook is no longer recommended.
webhook (2) Versions 0.1.0 Follow1
Installs/configures Webhook
cookbook 'webhook', '= 0.1.0', :supermarket
knife supermarket install webhook
knife supermarket download webhook
Webhook Cookbook
A cookbook for installing and configuring the various components of
Webhook.
Requirements
While the included recipes will handle installation of Node.js on their own,
the resources provided will not. Either use the recipes or ensure Node.js is
installed prior to calling a resource directly.
Usage
This cookbook can be implemented either by calling its resource directly, or
adding the recipes that wrap it to your run_list.
Known Issues
The nodejs cookbook does
not (yet) support Windows or Mac OS X. It's what we consume to install Webhook,
so platform support is, for now, limited.
Recipes
default
cli
Installs Node.js and calls the webhook_cli resource to install the Webhook CLI.
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 |
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 |
Providers
webhook_cli
Handles installs/uninstalls of the Webhook CLI, via NPM packages.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Run style checks and RSpec tests (
bundle exec rake
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create 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
nodejs >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Webhook Cookbook CHANGELOG
v0.1.0 (2014-08-25)
- Initial release!
v0.0.1 (2014-08-22)
- Development started