Skip to content

Instantly share code, notes, and snippets.

@tsabat
Created December 2, 2011 00:12
Show Gist options
  • Save tsabat/1420892 to your computer and use it in GitHub Desktop.
Save tsabat/1420892 to your computer and use it in GitHub Desktop.
broken_recipe.rb
require_recipe "openssl"
require_recipe "mysql::server"
require_recipe "mysql::client"
# require_recipe "vagrant_main::create_wufoo_db"
include_recipe 'database'
dbs = %w{C00000001 C00000002 C00000172 Clients Hits}
dbs.each do |db_name|
mysql_database "#{db_name}" do
connection {:host => "localhost", :username => 'root', :password => node['mysql']['server_root_password']}
action :create
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment