cookbook 'gemirro', '~> 0.3.1'
gemirro (4) Versions 0.3.1 Follow3
Installs/Configures gemirro
cookbook 'gemirro', '~> 0.3.1', :supermarket
knife supermarket install gemirro
knife supermarket download gemirro
gemirro Cookbook |
This cookbook install and configure gemirro.
Requirements
nginx
apache2
apt
hostsfile
Attributes
gemirro::default
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['gemirro']['version']</tt></td>
<td>String</td>
<td>Which version of Gemirro you want to install. (Nil is latest)</td>
<td><tt>nil</tt></td>
</tr>
<tr>
<td><tt>['gemirro']['force_update']</tt></td>
<td>Boolean</td>
<td>Get Gemirro always up to date by forcing update.</td>
<td><tt>false</tt></td>
</tr>
<tr>
<td><tt>['gemirro']['directory']</tt></td>
<td>String</td>
<td>The directory where the repository will be created.</td>
<td><tt>/opt/gemirro</tt></td>
</tr>
<tr>
<td><tt>['gemirro']['gems']</tt></td>
<td>Hash of array</td>
<td>List of gem containing a list of versions. (Example: {'gemirro': ['0.1.0', '0.2.0']}</td>
<td><tt>{}</tt></td>
</tr>
<tr>
<td><tt>['gemirro']['server']['type']</tt></td>
<td>String</td>
<td>Define if you want to use nginx or apache for the proxypass.</td>
<td><tt>nginx</tt></td>
</tr>
<tr>
<td><tt>['gemirro']['server']['host']</tt></td>
<td>String</td>
<td>The hostname for the apache or nginx configuration.</td>
<td><tt>node['fqdn']</tt></td>
</tr>
<tr>
<td><tt>['gemirro']['server']['port']</tt></td>
<td>String</td>
<td>The port used for the apache or nginx configuration.</td>
<td><tt>80</tt></td>
</tr>
<tr>
<td><tt>['gemirro']['server']['log_directory']</tt></td>
<td>String</td>
<td>The directory where access and error log are stored.</td>
<td><tt>/var/log/gemirro</tt></td>
</tr>
</table>
Usage
gemirro::default
Just include gemirro
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[gemirro]" ] }
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:
- Pierre Rambaud (pierre.rambaud@numergy.com)
Dependent cookbooks
nginx >= 0.0.0 |
apache2 >= 0.0.0 |
hostsfile >= 0.0.0 |
apt >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.3.1 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.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.3.1 failed this metric
FC064: Ensure issues_url is set in metadata: gemirro/metadata.rb:1
FC065: Ensure source_url is set in metadata: gemirro/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gemirro/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gemirro/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.1 passed this metric
Testing File Metric
0.3.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.3.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.3.1 failed this metric
0.3.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.3.1 failed this metric
FC064: Ensure issues_url is set in metadata: gemirro/metadata.rb:1
FC065: Ensure source_url is set in metadata: gemirro/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gemirro/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gemirro/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.1 passed this metric
Testing File Metric
0.3.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.3.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.3.1 failed this metric
FC065: Ensure source_url is set in metadata: gemirro/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gemirro/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gemirro/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.1 passed this metric
Testing File Metric
0.3.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.3.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.3.1 failed this metric
0.3.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