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

The libsodium cookbook has been deprecated

Author provided reason for deprecation:

The libsodium cookbook has been deprecated and is no longer being maintained by its authors. Use of the libsodium cookbook is no longer recommended.

RSS

libsodium (3) Versions 0.1.0

Installs/Configures libsodium

Policyfile
Berkshelf
Knife
cookbook 'libsodium', '= 0.1.0', :supermarket
cookbook 'libsodium', '= 0.1.0'
knife supermarket install libsodium
knife supermarket download libsodium
README
Dependencies
Quality 0%

libsodium Cookbook

Downloads, compiles, and installs libsodium.
Based off zeromq-cookbook by Johannes Plunien plu@pqpq.de.

Requirements

packages

  • build-essential - libsodium needs build-essential for compiling

Platform

  • Tested on
    • Ubuntu 14.04

Attributes

  • node['libsodium']['base'] = '/usr/local'
  • node['libsodium']['src'] = '/usr/local/src/libsodium'
  • node['libsodium']['src_url'] = 'https://github.com/jedisct1/libsodium.git'
  • node['libsodium']['version'] = '1.0.10'
  • node['libsodium']['lib'] = 'libsodium.so'

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['libsodium']['base']</tt></td>
<td>String</td>
<td>Base directory for installing.</td>
<td><tt>'/usr/local'</tt></td>
</tr>
<tr>
<td><tt>['libsodium']['src']</tt></td>
<td>String</td>
<td>Directory for git cloning source into.</td>
<td><tt>'/usr/local/src/libsodium'</tt></td>
</tr>
<tr>
<td><tt>['libsodium']['src_url']</tt></td>
<td>String</td>
<td>Remote git repository URL.</td>
<td><tt>'https://github.com/jedisct1/libsodium.git'</tt></td>
</tr>
<tr>
<td><tt>['libsodium']['version']</tt></td>
<td>String</td>
<td>Version to install. (git branch, or tags)</td>
<td><tt>'1.0.10'</tt></td>
</tr>
<tr>
<td><tt>['libsodium']['lib']</tt></td>
<td>String</td>
<td>The binary object name that is created.</td>
<td><tt>'libsodium.so'</tt></td>
</tr>
</table>

Usage

Just include libsodium in your run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[libsodium]"
  ]
}

Or include it directly within another recipe:

include_recipe 'libsodium'

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. 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.0 failed this metric

FC017: LWRP does not notify when updated: /tmp/cook/bebd8e7691cec554c0f06d57/libsodium/providers/builder.rb:6