You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was running through a default installation and ran into an issue with the following AMI:
ami-99bef1a9
Here are my notes and my recipe
Built the basic cookbook, based on the instructions on MySQL github page:
mysql_service 'default' do
bind_address '0.0.0.0'
port '3306'
version '5.5' # changed later, see notes
initial_root_password 'hunter2' #obviously fake
action [:create, :start]
end
mysql_config 'default' do
source 'mysite.cnf.erb'
notifies :restart, 'mysql_service[default]'
action :create
end
-- (BTW, it's super annoying that it doesn't download all dependencies automatically!)
Knife uploaded the cookbook and went to the directory to chef-client
Failed, due to mysql55-community repo not being available
Had to eventually skip if unavailable, and upgraded yum
Tried to run chef-client again, and still failed
Downloaded the most recent mysql cookbook from Github
Then hacked again at the cookbook, and changed mysql to '5.7'
Still didn't work, happened to randomly enter one of the errors in google and came back with the rhel update site for adjusting repos
I was running through a default installation and ran into an issue with the following AMI:
Here are my notes and my recipe
-- (BTW, it's super annoying that it doesn't download all dependencies automatically!)
The text was updated successfully, but these errors were encountered: