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

flyway (4) Versions 0.1.2

Installs and configures flywaydb a database migration tool

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

flyway-cookbook

Cookbook
Build Status

Install and configures flywaydb and allows for execution
of database migrations

Supported Platforms

  • Centos, RedHat & Amazon Linux
  • Ubuntu, debian
  • Windows

Attributes

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['flyway']['version']</tt></td>
<td>String</td>
<td>the version of fly to install</td>
<td><tt>3.2.1</tt></td>
</tr>
<tr>
<td><tt>['flyway']['install_dir']</tt></td>
<td>String</td>
<td>the base install directory</td>
<td><tt><ul><li>linux /opt</li><li>windows C:</li></tt></td>
</tr>
<tr>
<td><tt>['flyway']['user']</tt></td>
<td>String</td>
<td>the owner of the flyway install</td>
<td><tt>flyway</tt></td>
</tr>
<tr>
<td><tt>['flyway']['group']</tt></td>
<td>String</td>
<td>the group of the flyway install</td>
<td><tt>flyway</tt></td>
</tr>
<tr>
<td><tt>['flyway']['conf']</tt></td>
<td>Hash</td>
<td>A hash used to create the default configuration for the flyway.conf file key values automatically get prefixed with flyway. example:
<pre>{
url: 'jdbc:mysql/localhost/mydb',
user: 'root',
password: 'changeme'
locations: 'filesystem:/myapp/db_migrations'
}</pre></td>
<td><tt>{}</tt></td>
</tr>
</table>

Usage

flyway::default

Include flyway in your node's run_list:

{
  "run_list": [
    "recipe[flyway::default]"
  ],
  "flyway": {
    "version": "3.2.1",
    "install_dir":"/usr/local",
    "conf": {
      "url": "jdbc:mysql/localhost/mydb",
      "user": "root",
      "password": "changeme",
      "locations": "filesystem:/myapp/db_migrations"
    }
  }
}

License and Authors

License:: Apache License, Version 2.0

Authors::
* Aaron Walker - base2Services

Dependent cookbooks

ark >= 0.0.0
mysql >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

Initial release of flyway

Foodcritic Metric
            

0.1.2 failed this metric

FC031: Cookbook without metadata file: /tmp/cook/57e25ad76f8affe22143241e/flyway/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/57e25ad76f8affe22143241e/flyway/metadata.rb:1