reset / ecto-cookbook

Installs and provides components for Ecto

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ecto-cookbook

Installs, configures, and provides LWRPs for components of Ecto

Supported Platforms

  • Ubuntu

Usage

Include ecto in your node's run_list:

{
  "run_list": [
    "recipe[ecto::default]"
  ]
}

Runing migrations

First include ecto::default or ecto::migrator in your recipe

include_recipe "ecto::migrator"

Then leverage the ecto_migrate LWRP to run the Ecto migrations found at the given path

ecto_migrate "my_database" do
  username "my_username"
  password "secure_password"
  host "localhost"
  migrations_path "/path/to/migrations"
end

Recipes

ecto::default

Installs and configures default components for Ecto

ecto::migrator

Installs and symlinks the migrator binary to /usr/local/bin/migrator

License and Authors

Author:: Jamie Winsor (jamie@vialstudios.com)

About

Installs and provides components for Ecto

License:Other


Languages

Language:Ruby 100.0%