thumbor
: Install and configure Thumbor
thumbor::config
: Setup configuration files for Thumborthumbor::install
: Install packages and dependencies for Thumborthumbor::python
: Manage the Python installationthumbor::service
: Manage Thumbor system service and instancesthumbor::upgrade
: Upgrade Thumbor's Python venvthumbor::user
: Setup users and groups for Thumbor
thumbor::service::systemd
: Setup a Thumbor service instance
Install and configure Thumbor
The following parameters are available in the thumbor
class:
additional_packages
config
config_dir
ensure
group
plugins
listen
manage_epel
manage_group
manage_python
manage_user
path
package_name
package_ensure
pip_provider
pip_proxyserver
ports
python_config
security_key
statefile
update_enabled
user
version
venv_path
Data type: Array
Specifies a list of additional packages that are required for thumbor or any of it's dependencies.
Data type: Hash
The configuration for Thumbor. Note the hash keys will be converted to upper case. You can refer to Thumbor wiki for configuration options: https://github.com/thumbor/thumbor/wiki/Configuration
Data type: Stdlib::Absolutepath
Thumbor configuration files are stored in this directory if venv is not used
Data type: Enum['present', 'absent']
Controls the installation and removal of application components (files, user, group), default present
Data type: String
Name of the group to install (optional) and under which we run the thumbor service, default thumbor
Data type: Variant[Array[String],String]
Thumbor plugins to install via PIP
Data type: String
Host address to listen on, default 127.0.0.1
Data type: Boolean
If EPEL should be enabled on RHEL-based distributions.
Data type: Boolean
If we control the installation of the group, default true
Data type: Boolean
If we control the installation of Python, default true
Data type: Boolean
If we control the installation of the user, default true
Data type: String
Specifies the content of the PATH environment variable when running commands.
Data type: String
Package name of the thumbor application as found in pip, default thumbor
Data type: Enum['present', 'absent', 'latest']
Control the ensure on additional pip installations, default $ensure ('present')
Data type: Optional[String]
The version of pip to use.
Data type: Optional[String]
The full url (including credentials) to a proxy server or undef to not use one at all, default undef
Data type: Variant[Array[String],String]
Array of port strings to let thumbor listen on. This also controls how many instances are spinned up. Default: [ '8000' ]
Data type: Hash
Config for Python that should be used (if $manage_python is enabled)
Data type: Optional[String]
Security key to use in thumbor, default undef
Data type: String
This file contains the version information, it is internally used to determine if a venv upgrade is necessary
Data type: Boolean
Whether to automatically update the Python venv if necessary. Note that updates of the Thumbor PIP are controlled by the $version parameter.
Data type: String
Name of the user to install (optional) and under which we run the thumbor service, default thumbor
Data type: String
Version of Thumbor that should be installed, default 'present'
Data type: Optional[Stdlib::Absolutepath]
If we use virtualenv (false if undef) and what path we use as base, default undef
Setup a Thumbor service instance
The following parameters are available in the thumbor::service::systemd
defined type:
Data type: String
The port Thumbor listens on.
Default value: $name