Adoptable Cookbooks List

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.

Flywaydb Cookbook

Requirements

Chef 11+

Platforms

CentOS/RedHat

Ubuntu

Windows

Usage

Use migrate, info, validate, baseline, or repair actions to install
flywaydb (if not installed) and execute associated flyway command.
An install action is also available if you just want to install
flywaydb but not execute any flyway commands.

Attributes

flyway_conf - Configuration path or settings to copy or
create conf/flyway.conf. The flyway.conf file will be
regenerated for each flywaydb execution and will be blanked out if
flyway_conf is nil to prevent alt_conf from inadvertently inheriting
its settings. Settings in alt_conf override settings in flyway.conf.
Settings in params override all settings. Default: nil.

alt_conf - Alternative configuration path or settings. An array
containing paths and/or settings is also supported. Each path and
settings are written as conf/#{name}[_#{i + 1}].conf
where name is the resource name and i is the index in array. Each item
in array will result in an independent execution of Flyway. Settings in
alt_conf override settings in flyway.conf. Settings in params override
all settings. Default: nil.

mysql_driver - MariaDB Connector/J driver is the default driver
for jdbc:mysql: connections. Set to true to download and install
MySQL Connector/J driver under drivers directory. This will then
become the default driver for jdbc:mysql: connections.
Default: false.

name - Name of the alternative conf file when alt_conf is defined.
Defaults to resource block name.

sensitive - Suppress logging the Flyway command executed to hide
sensitive information but still log Flyway stdout and stderr to
Chef-client. Writing of conf files will also be suppressed when
executing with Chef-client versions that support sensitive.
Default: true.