cookbook 'spac', '~> 0.1.0'
spac (1) Versions 0.1.0 Follow1
Installs/Configures the spac service
cookbook 'spac', '~> 0.1.0', :supermarket
knife supermarket install spac
knife supermarket download spac
SPAC Cookbook
This cookbook will install the spac service and applies the configuration.
For more information about spac, please read:
https://github.com/sbotman/spac/blob/master/README.md
Attributes
Configuration of the spac service can be done by setting attributes.
spac::default
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['spac']['server']</tt></td>
<td>String</td>
<td>IP Address to listen on.</td>
<td><tt>0.0.0.0</tt></td>
</tr>
<tr>
<td><tt>['spac']['port']</tt></td>
<td>Integer</td>
<td>Port to listen on.</td>
<td><tt>9000</tt></td>
</tr>
<tr>
<td><tt>['spac']['apps']</tt></td>
<td>Hash</td>
<td>Applications and ports.</td>
<td></td>
</tr>
</table>
Usage
spac::default
Add the spac cookbook as dependency to your cookbook.
Use the spac resource to install and configure the service.
e.g.
spac 'exe' do url node['spac']['url'] version node['spac']['version'] checksum node['spac']['checksum'] end
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
Authors: Sander Botman
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
spac CHANGELOG
This file is used to list changes made in each version of the spac cookbook.
0.1.0
- [Sander Botman] - Initial release of spac cookbook
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
0.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.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.1.0 failed this metric
FC069: Ensure standardized license defined in metadata: spac/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: spac/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.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.1.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
0.1.0 failed this metric
0.1.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.1.0 failed this metric
FC069: Ensure standardized license defined in metadata: spac/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: spac/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.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.1.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
0.1.0 failed this metric
FC070: Ensure supports metadata defines valid platforms: spac/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.0 passed this metric
Testing File Metric
0.1.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.1.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
0.1.0 failed this metric
0.1.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