cookbook 'thumbor', '= 1.0.0', :supermarket
thumbor (7) Versions 1.0.0 Follow0
Installs and configures thumbor
cookbook 'thumbor', '= 1.0.0'
knife cookbook site install thumbor
knife cookbook site download thumbor
thumbor Cookbook
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 preferencespython
- Installs Python, pip and virtualenv.nginx
- Installs and configures nginxmonit-ng
- Installs and configures monitredisio
- 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
- 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
Prerequisites
- ChefDK
- Recent RuboCop
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
redisio >= 0.0.0 |
monit-ng >= 0.0.0 |
nginx >= 0.0.0 |
python >= 0.0.0 |
apt >= 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
on9000
,9001
,9003
- Test thumbor service
- Add infrataster tests to validate thumbor results are correct and installed libraries are working as expected
- Test
/healthcheck
responds with contentWORKING
- Test
responds successfully
- Test
responds as 'image/gif'
- Test
responds with the correct size
- Test
- Add attribute
install_method
with valuespackage
,pip
andsource
. 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
- Deprecated: "do-all"
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
1.0.0 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/809d0d3eb765a5533e80cb00/thumbor/metadata.rb:1