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

thumbor (7) Versions 1.0.0

Installs and configures thumbor

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

thumbor Cookbook

Cookbook
Coverage Status
Build Status

Installs/configures thumbor - an open-source photo thumbnail service by globo.com

NOTE: This cookbook has been heavily refactored. Please read the CHANGELOG.

Features

  • Install packages for engines pil, opencv, graphicsmagick, gifsicle
  • Install methods package, source, pip
  • Support image format WEBP
  • Support Storage AWS S3
  • ServerSpec/Infrataster Tests

Requirements

Cookbooks

  • apt - Configures apt and apt services and LWRPs for managing apt repositories and preferences
  • python - Installs Python, pip and virtualenv.
  • nginx - Installs and configures nginx
  • monit-ng - Installs and configures monit
  • redisio - Installs/Configures redis

Attributes

The list of attributes found in the documentation is just an overview of important attributes. Please look through the attributes directory in order to find attributes that may not be listed here.

thumbor::default

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

Usage

thumbor::default

TODO: Write usage instructions for each cookbook.

e.g.
Just include thumbor in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[thumbor]"
  ]
}

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

Prerequisites

  chef gem install rubocop

Testing

Test changes using

chef exec rake
chef exec kitchen verify

License and Authors

Author:: Enrico Stahn (mail@enricostahn.com)

Copyright 2015, Zanui

See LICENSE for license details

Dependent cookbooks

apt >= 0.0.0
python >= 0.0.0
nginx >= 0.0.0
monit-ng >= 0.0.0
redisio >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

thumbor CHANGELOG

This file is used to list changes made in each version of the thumbor cookbook.

1.0.0

  • Enrico Stahn - Major refactoring of the cookbook
    • Deprecated: "do-all" experimental recipe
    • Code separated into recipes
    • Add serverspec tests to validate processes are running correctly
      • Test thumbor service enabled, running
      • Test ports are listening via tcp on 9000, 9001, 9003
    • Add infrataster tests to validate thumbor results are correct and installed libraries are working as expected
      • Test /healthcheck responds with content WORKING
      • Test responds successfully
      • Test responds as 'image/gif'
      • Test responds with the correct size
    • Add attribute install_method with values package, pip and source. This also allows to install all version and branches from any git repository such as GitHub.
    • Add monit for nginx and thumbor
    • Add redis through redisio cookbook

0.1.0

  • Enrico Stahn - Initial release of thumbor

Foodcritic Metric
            

1.0.0 failed this metric

FC031: Cookbook without metadata file: /tmp/cook/809d0d3eb765a5533e80cb00/thumbor/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/809d0d3eb765a5533e80cb00/thumbor/metadata.rb:1