cookbook 'zmq', '= 0.1.1'
The zmq cookbook has been deprecated
Author provided reason for deprecation:
The zmq cookbook has been deprecated and is no longer being maintained by its authors. Use of the zmq cookbook is no longer recommended.
zmq (3) Versions 0.1.1 Follow0
Installs/Configures zeromq
cookbook 'zmq', '= 0.1.1', :supermarket
knife supermarket install zmq
knife supermarket download zmq
zmq (ZeroMQ) Cookbook
Downloads, compiles, and installs zeromq.
Based off zeromq-cookbook by Johannes Plunien plu@pqpq.de.
Requirements
packages
-
build-essential
- required for compiling
Platform
- Tested on
- Ubuntu 14.04
Attributes
Default node attributes provided by the cookbook.
- node['zmq']['base'] = '/usr/local'
- node['zmq']['src'] = '/usr/local/src/zmq'
- node['zmq']['src_url'] = 'https://github.com/zeromq/zeromq4-1.git'
- node['zmq']['version'] = 'v4.1.4'
- node['zmq']['lib'] = 'libzmq.so'
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['zmq']['base']</tt></td>
<td>String</td>
<td>Base directory for installing.</td>
<td><tt>'/usr/local'</tt></td>
</tr>
<tr>
<td><tt>['zmq']['src']</tt></td>
<td>String</td>
<td>Directory for git cloning source into.</td>
<td><tt>'/usr/local/src/zmq'</tt></td>
</tr>
<tr>
<td><tt>['zmq']['src_url']</tt></td>
<td>String</td>
<td>Remote git repository URL.</td>
<td><tt>'https://github.com/zeromq/zeromq4-1.git'</tt></td>
</tr>
<tr>
<td><tt>['zmq']['version']</tt></td>
<td>String</td>
<td>Version to install. (git branch, or tag)</td>
<td><tt>'v4.1.4'</tt></td>
</tr>
<tr>
<td><tt>['zmq']['lib']</tt></td>
<td>String</td>
<td>The binary object name that is created.</td>
<td><tt>'libzmq.so'</tt></td>
</tr>
</table>
Usage
Just include zmq
in your run_list
:
{ "name":"my_node", "run_list": [ "recipe[zmq]" ] }
Or include it directly within another recipe:
include_recipe 'zmq'
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Copyright 2016 Joshua C. Burt
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.
Foodcritic Metric
0.1.1 passed this metric
0.1.1 passed this metric