Installs, configures, and provides LWRPs for components of Ecto
- Ubuntu
Include ecto
in your node's run_list
:
{
"run_list": [
"recipe[ecto::default]"
]
}
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
Installs and configures default components for Ecto
Installs and symlinks the migrator
binary to /usr/local/bin/migrator
Author:: Jamie Winsor (jamie@vialstudios.com)