cookbook 'cayley', '~> 0.0.1'
cayley (1) Versions 0.0.1 Follow0
Installs and configures Cayley graph database
cookbook 'cayley', '~> 0.0.1', :supermarket
knife supermarket install cayley
knife supermarket download cayley
Cayley Cookbook
Cayley is an open-source graph inspired by the graph database behind Freebase and Google's Knowledge Graph.
This cookbook sets up a Cayley instance through the Chef automation platform.
Supported Platforms
- Ubuntu 14.04 LTS
- Amazon
Supported Backends
- Memory
- LevelDB (Coming soon!)
- MongoDB (Coming soon!)
Attributes
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['cayley']['version']</tt></td>
<td>String</td>
<td>Version of Cayley to manage</td>
<td><tt>0.3.0</tt></td>
</tr>
<tr>
<td><tt>['cayley']['backend']</tt></td>
<td>String</td>
<td>Determines the type of the underlying database.</td>
<td><tt>mem</tt></td>
</tr>
<tr>
<td><tt>['cayley']['directory']</tt></td>
<td>String</td>
<td>Directory for Cayley to be installed</td>
<td><tt>/opt/cayley</tt></td>
</tr>
<tr>
<td><tt>['cayley']['listen_host']</tt></td>
<td>String</td>
<td>The hostname or IP address for Cayley's HTTP server to listen on.</td>
<td><tt>0.0.0.0</tt></td>
</tr>
<tr>
<td><tt>['cayley']['listen_port']</tt></td>
<td>String</td>
<td>The port for Cayley's HTTP server to listen on.</td>
<td><tt>64210</tt></td>
</tr>
<tr>
<td><tt>['cayley']['read_only']</tt></td>
<td>Boolean</td>
<td>If true, disables the ability to write to the database using the HTTP API.</td>
<td><tt>false</tt></td>
</tr>
<tr>
<td><tt>['cayley']['log_directory']</tt></td>
<td>String</td>
<td>Location to store runtime and error log messages.</td>
<td><tt>/var/log/cayley</tt></td>
</tr>
<tr>
<td><tt>['cayley']['db_path']</tt></td>
<td>String</td>
<td>Where the database actually lives.</td>
<td><tt>/tmp/testdb</tt></td>
</tr>
</table>
Usage
cayley::setup
Include cayley
in your node's run_list
:
{ "run_list": [ "recipe[cayley::setup]" ] }
Contributing
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
License and Authors
Author:: Sean Stavropoulos (sean.stavro@gmail.com)
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.0.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.0.1 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.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: cayley/metadata.rb:1
FC065: Ensure source_url is set in metadata: cayley/metadata.rb:1
FC066: Ensure chef_version is set in metadata: cayley/metadata.rb:1
FC069: Ensure standardized license defined in metadata: cayley/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.1 passed this metric
Testing File Metric
0.0.1 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.0.1 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
0.0.1 failed this metric
0.0.1 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.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: cayley/metadata.rb:1
FC065: Ensure source_url is set in metadata: cayley/metadata.rb:1
FC066: Ensure chef_version is set in metadata: cayley/metadata.rb:1
FC069: Ensure standardized license defined in metadata: cayley/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.1 passed this metric
Testing File Metric
0.0.1 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.0.1 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
0.0.1 failed this metric
FC065: Ensure source_url is set in metadata: cayley/metadata.rb:1
FC066: Ensure chef_version is set in metadata: cayley/metadata.rb:1
FC069: Ensure standardized license defined in metadata: cayley/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.1 passed this metric
Testing File Metric
0.0.1 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.0.1 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
0.0.1 failed this metric
0.0.1 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