51fd328fef
Try and create Berksfile that will work with berkshelf 2 or 3 Fixed style issues Also, added .gitreview file Change-Id: I47caf4930ac18bcfc62737e851fff1fe15dd9c9f
17 lines
325 B
Ruby
17 lines
325 B
Ruby
# encoding: UTF-8#
|
|
#
|
|
# Temporary way of loading in the mysql schema
|
|
|
|
bash 'mon_schema' do
|
|
action :nothing
|
|
code 'mysql -uroot -ppassword < /var/lib/mysql/mon.sql'
|
|
end
|
|
|
|
cookbook_file '/var/lib/mysql/mon.sql' do
|
|
action :create
|
|
owner 'root'
|
|
group 'root'
|
|
source 'mysql/mon.sql'
|
|
notifies :run, 'bash[mon_schema]'
|
|
end
|