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

bitcoind (7) Versions 0.3.0

Installs and configures a bitcoind node

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

bitcoind-cookbook

This cookbook will install a Bitcoin node. You can also
enable or disable the wallet ability. By disabling the wallet you will have
a seed node that can be used to connect to.

This is a cookbook that I use to setup seed nodes and other services that
require a bitcoin node.

Supported Platforms

  • ubuntu 14.04

Attributes

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['bitcoind']['install_via']</tt></td>
<td>enum</td>
<td>package or source I recommend you use package.</td>
<td><tt>package</tt></td>
</tr>
<tr>
<td><tt>['bitcoind']['bin']</tt></td>
<td>string</td>
<td>Location of executable</td>
<td><tt>/usr/bin/bitcoind</tt></td>
</tr>
<tr>
<td><tt>['bitcoind']['user']</tt></td>
<td>string</td>
<td></td>
<td><tt>bitcoin</tt></td>
</tr>
<tr>
<td><tt>['bitcoind']['group']</tt></td>
<td>string</td>
<td></td>
<td><tt>bitcoin</tt></td>
</tr>
<tr>
<td><tt>['bitcoind']['piddir']</tt></td>
<td>string</td>
<td></td>
<td><tt>/var/run/bitcoind</tt></td>
</tr>
<tr>
<td><tt>['bitcoind']['pidfile']</tt></td>
<td>string</td>
<td></td>
<td><tt>/var/run/bitcoind/bitcoind.pid</tt></td>
</tr>
<tr>
<td><tt>['bitcoind']['datadir']</tt></td>
<td>string</td>
<td></td>
<td><tt>/var/lib/bitcoind</tt></td>
</tr>
<tr>
<td><tt>['bitcoind']['wallet']['enabled']</tt></td>
<td>boolean</td>
<td></td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['bitcoind']['config']['file']</tt></td>
<td>string</td>
<td></td>
<td><tt>/etc/bitcoin/bitcoin.conf</tt></td>
</tr>
<tr>
<td><tt>['bitcoind']['config']['options']</tt></td>
<td>hash</td>
<td>Configures the options that are put into the bitcoin.conf file.</td>
<td><tt>{}</tt></td>
</tr>
</table>

Usage

Create a testnet node:

{
    "bitcoind": {
        "config": {
            "options": {
                "testnet": 1,
                "rpcuser": "insecure_username",
                "rpcpassword": "please_rob_me",
                "rpcallowip": ["127.0.0.1", "192.168.1.1"],
                "rpcport": 18332
            }
        }
    }
}

You can see various options that can go into the configuration file at
https://en.bitcoin.it/wiki/Running_Bitcoin#Sample_Bitcoin.conf

bitcoind::default

Include bitcoind in your node's run_list:

{
  "run_list": [
    "recipe[bitcoind]"
  ]
}

License and Authors

Author:: Joshua Estes (Joshua@dSpaceLabs.com)

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

Initial release of bitcoind

Collaborator Number Metric
            

0.3.0 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.3.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.3.0 failed this metric

FC064: Ensure issues_url is set in metadata: bitcoind/metadata.rb:1
FC065: Ensure source_url is set in metadata: bitcoind/metadata.rb:1
FC066: Ensure chef_version is set in metadata: bitcoind/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.3.0 passed this metric

Testing File Metric
            

0.3.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.3.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