cookbook 'sonarr', '= 1.0.1'
sonarr (6) Versions 1.0.1 Follow2
Installs Sonarr.
cookbook 'sonarr', '= 1.0.1', :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.1
- Removes double attribute assignment in user block
1.0.0
- Initial release of the sonarr cookbook
Foodcritic Metric
1.0.1 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/attributes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/attributes/default.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/attributes/default.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/attributes/default.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/attributes/default.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:25
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:26
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:27
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:30
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:31
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:32
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:35
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:37
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:38
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:40
1.0.1 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/attributes/default.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/attributes/default.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/attributes/default.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/attributes/default.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:25
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:26
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:27
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:30
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:31
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:32
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:35
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:37
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:38
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/ff3ea504f76b5b1d2449a0f1/sonarr/recipes/default.rb:40