Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

subliminal (2) Versions 1.0.1

Installs subliminal.

Policyfile
Berkshelf
Knife
cookbook 'subliminal', '= 1.0.1', :supermarket
cookbook 'subliminal', '= 1.0.1'
knife supermarket install subliminal
knife supermarket download subliminal
README
Dependencies
Changelog
Quality 0%

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::default

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['subliminal']['colorlog']</tt></td>
<td>Boolean</td>
<td>whether to include colorlog</td>
<td><tt>true</tt></td>
</tr>
</table>

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>whether to include colorlog</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::colorlog

It installs colorlog using the python pip provider. You might need this if you want colorized logging.

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

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. 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.0.1

  • Makes providers configurable for cron recipe

1.0.0

  • Initial release of the subliminal cookbook

Foodcritic Metric
            

1.0.1 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/attributes/cron.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/attributes/cron.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/attributes/cron.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/attributes/cron.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/attributes/cron.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/attributes/cron.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/attributes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/recipes/cron.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/recipes/cron.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/recipes/cron.rb:15
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/recipes/cron.rb:17
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/recipes/cron.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/recipes/cron.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/recipes/cron.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/recipes/cron.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/recipes/cron.rb:25
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/502f84ae234fc760afe22aae/subliminal/recipes/default.rb:3