Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Cookbook Name:: mysql_config
- # Recipe:: default
- #
- # Copyright 2015, YOUR_COMPANY_NAME
- #
- # All rights reserved - Do Not Redistribute
- #
- mysql_service 'default' do
- port '3306'
- version '5.5'
- name 'localhost'
- initial_root_password 'p4ssw0rd'
- action [:create, :start]
- end
- mysql_config 'default' do
- source 'my.cnf.erb'
- notifies :restart, 'mysql_service[default]'
- action :create
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement