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

ecto (10) Versions 0.3.1

Installs, configures, and provides LWRPs for components of Ecto

Policyfile
Berkshelf
Knife
cookbook 'ecto', '= 0.3.1', :supermarket
cookbook 'ecto', '= 0.3.1'
knife supermarket install ecto
knife supermarket download ecto
README
Dependencies
Quality 0%

ecto-cookbook

Installs, configures, and provides LWRPs for components of [Ecto](github.com/elixir-lang/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"
  schema "public"
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)

Dependent cookbooks

elixir ~> 0.9.0
libarchive >= 0.0.0
github >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

0.3.1 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f7a3e5c9c2e74b4575d26605/ecto/attributes/default.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f7a3e5c9c2e74b4575d26605/ecto/attributes/default.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f7a3e5c9c2e74b4575d26605/ecto/attributes/default.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f7a3e5c9c2e74b4575d26605/ecto/libraries/ecto_migrator.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f7a3e5c9c2e74b4575d26605/ecto/libraries/ecto_migrator.rb:25
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f7a3e5c9c2e74b4575d26605/ecto/recipes/migrator.rb:24
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f7a3e5c9c2e74b4575d26605/ecto/recipes/migrator.rb:25