cookbook 'subliminal', '~> 1.1.0'
subliminal (2) Versions 1.1.0 Follow0
Installs subliminal.
cookbook 'subliminal', '~> 1.1.0', :supermarket
knife supermarket install subliminal
knife supermarket download subliminal
subliminal Cookbook
Installs subliminal and its required dependencies.
Requirements
python
Python and pip are required. They are set up as a dependency of this cookbook so it will be handled automatically. The python_pip lwrp will be used to install the desired packages.
cron
This is an optional dependency if you want to set up cron jobs.
The cron_d lwrp will be used to manage the cron jobs.
Attributes
subliminal::cron
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['subliminal']['binary']</tt></td>
<td>String</td>
<td>path to the subliminal executable</td>
<td><tt>/usr/local/bin/subliminal</tt></td>
</tr>
<tr>
<td><tt>['subliminal']['log_directory']</tt></td>
<td>String</td>
<td>path to the subliminal log directory</td>
<td><tt>/var/log/subliminal</tt></td>
</tr>
<tr>
<td><tt>['subliminal']['verbose']</tt></td>
<td>Boolean</td>
<td>verbose output</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['subliminal']['very_verbose']</tt></td>
<td>Boolean</td>
<td>very verbose output</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['subliminal']['languages']</tt></td>
<td>Array</td>
<td>a list of languages to use</td>
<td><tt>['en']</tt></td>
</tr>
<tr>
<td><tt>['subliminal']['providers']</tt></td>
<td>Array</td>
<td>a list of providers to use</td>
<td><tt>nil</tt></td>
</tr>
<tr>
<td><tt>['subliminal']['cron_jobs']</tt></td>
<td>Array</td>
<td>a list of hashes containing cron_d attributes</td>
<td><tt>[]</tt></td>
</tr>
</table>
Usage
subliminal::default
It installs subliminal using the python pip provider.
subliminal::cron
It sets up cron jobs. The recipe performs the following actions:
- creates a
subliminal
system user - creates the log directory
- creates cron jobs by using the cron_d provider
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
python >= 0.0.0 |
cron >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
subliminal cookbook CHANGELOG
This file is used to list changes made in each version of the subliminal cookbook.
1.1.0
- Supports subliminal v1.0 (only)
1.0.1
- Makes providers configurable for cron recipe
1.0.0
- Initial release of the subliminal cookbook
Collaborator Number Metric
1.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
1.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
1.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: subliminal/metadata.rb:1
FC065: Ensure source_url is set in metadata: subliminal/metadata.rb:1
FC066: Ensure chef_version is set in metadata: subliminal/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.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
1.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
1.1.0 failed this metric
1.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
1.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: subliminal/metadata.rb:1
FC065: Ensure source_url is set in metadata: subliminal/metadata.rb:1
FC066: Ensure chef_version is set in metadata: subliminal/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.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
1.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
1.1.0 failed this metric
FC065: Ensure source_url is set in metadata: subliminal/metadata.rb:1
FC066: Ensure chef_version is set in metadata: subliminal/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.1.0 passed this metric
Testing File Metric
1.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
1.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
1.1.0 failed this metric
1.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