Sha256: e2d462b92d9e08fd565821783aa0977af4bb1cbb16f0c7e31f00e8c2d7e6e47c

Contents?: true

Size: 265 Bytes

Versions: 6

Compression:

Stored size: 265 Bytes

Contents

package 'mysql-server'

service 'mysql' do
  action :start
  supports :restart => true
end

cookbook_file '/etc/mysql/my.cnf' do
  notifies :restart, 'service[mysql]'
end

execute "mysql -uroot -e \"GRANT ALL PRIVILEGES ON *.* TO 'app'@'%' IDENTIFIED BY 'app';\""

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
infrataster-plugin-mysql-0.2.1 spec/cookbooks/db/recipes/default.rb
infrataster-plugin-mysql-0.2.0 spec/cookbooks/db/recipes/default.rb
infrataster-plugin-mysql-0.1.3 spec/cookbooks/db/recipes/default.rb
infrataster-plugin-mysql-0.1.2 spec/cookbooks/db/recipes/default.rb
infrataster-plugin-mysql-0.1.1 spec/cookbooks/db/recipes/default.rb
infrataster-plugin-mysql-0.1.0 spec/cookbooks/db/recipes/default.rb