Skip to content

Instantly share code, notes, and snippets.

@pingali
Created May 6, 2009 21:51
Show Gist options
  • Save pingali/107766 to your computer and use it in GitHub Desktop.
Save pingali/107766 to your computer and use it in GitHub Desktop.
chef.rb
node[:mysql][:new_data_path] = "/var/local/mysql-data"
node[:mysql][:new_log_path] = "/var/local/log/mysql"
node[:mysql][:harden] = true
node[:mysql][:databases] = ["mytest", "myhello"]
node[:mysql][:db_users] = [
{
:db_user => "zrm",
:db_user_type => "backup",
:db_name => "mytest",
:db_password => "hello"
}
]
include_recipe "mysql-ec2::server"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment