diff --git a/cookbooks/lamp/recipes/default.rb b/cookbooks/lamp/recipes/default.rb index 67a73b0..9708e62 100644 --- a/cookbooks/lamp/recipes/default.rb +++ b/cookbooks/lamp/recipes/default.rb @@ -145,6 +145,11 @@ apt_update package 'mariadb-server' package 'mariadb-client' + +service 'mysql' do + action [:enable, :start] +end + template '/etc/init.d/mysql' do source 'mysql-init-d' end