cookbook 'sonarr', '= 1.0.3'
sonarr (6) Versions 1.0.3 Follow2
Installs Sonarr.
cookbook 'sonarr', '= 1.0.3', :supermarket
knife supermarket install sonarr
knife supermarket download sonarr
Sonarr Cookbook
Installs Sonarr and its required dependencies.
Attributes
sonarr::default
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['sonarr']['user']</tt></td>
<td>String</td>
<td>User which sonarr will be ran as</td>
<td>sonarr</td>
</tr>
<tr>
<td><tt>['sonarr']['group']</tt></td>
<td>String</td>
<td>Group which owns the sonarr installation</td>
<td>sonarr</td>
</tr>
<tr>
<td><tt>['sonarr']['home']</tt></td>
<td>String</td>
<td>Directory where sonarr will place its .config
directory</td>
<td>/home/sonarr</td>
</tr>
<tr>
<td><tt>['sonarr']['settings']</tt></td>
<td>Hash</td>
<td>Configuration options. Feel free to create a pull request for more custom options.</td>
<td>
<ul>
<li><tt>AnalyticsEnabled: True</tt></li>
<li><tt>ApiKey: changeme</tt></li>
<li><tt>AuthenticationMethod: None</tt></li>
<li><tt>BindAddress: *</tt></li>
<li><tt>Branch: master</tt></li>
<li><tt>EnableSsl: False</tt></li>
<li><tt>LaunchBrowser: True</tt></li>
<li><tt>LogLevel: Info</tt></li>
<li><tt>Port: 8989</tt></li>
<li><tt>SslCertHash: nil</tt></li>
<li><tt>SslPort: 9898</tt></li>
<li><tt>UpdateMechanism: BuiltIn</tt></li>
<li><tt>UrlBase: nil</tt></li>
</ul>
Empty settings should be defined as a set of quotes. e.g. '""'
</td>
</tr>
</table>
Usage
sonarr::default
It installs Sonarr using the official apt repository.
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
Dependent cookbooks
apt >= 2.6.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
sonarr cookbook CHANGELOG
This file is used to list changes made in each version of the sonarr cookbook.
1.0.3
- Creates the home directory if it would not exist yet when creating the .config dir
1.0.2
- Add systemd support for late revisions of ubuntu
1.0.1
- Removes double attribute assignment in user block
1.0.0
- Initial release of the sonarr cookbook
Collaborator Number Metric
1.0.3 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.3 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
1.0.3 failed this metric
FC064: Ensure issues_url is set in metadata: sonarr/metadata.rb:1
FC065: Ensure source_url is set in metadata: sonarr/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sonarr/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.3 passed this metric
Testing File Metric
1.0.3 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
1.0.3 passed this metric
1.0.3 failed this metric
1.0.3 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
1.0.3 failed this metric
FC064: Ensure issues_url is set in metadata: sonarr/metadata.rb:1
FC065: Ensure source_url is set in metadata: sonarr/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sonarr/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.3 passed this metric
Testing File Metric
1.0.3 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
1.0.3 passed this metric
1.0.3 failed this metric
FC065: Ensure source_url is set in metadata: sonarr/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sonarr/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.3 passed this metric
Testing File Metric
1.0.3 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
1.0.3 passed this metric
1.0.3 failed this metric
1.0.3 passed this metric