Skip to content

Instantly share code, notes, and snippets.

@radamant
Last active December 15, 2015 14:19
Show Gist options
  • Save radamant/5273611 to your computer and use it in GitHub Desktop.
Save radamant/5273611 to your computer and use it in GitHub Desktop.
chef_gem 'mysql'
include_recipe "mysql::ruby"
mysql_database node['mysql']['database_name'] do
connection({:host => "localhost", :username => 'root', :password => node['mysql']['server_root_password']})
action :create
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment