joerocklin/chef-mariadb — pull request #8 by neurogenesis (2014-03-27 18:35:59+00:00)
Title: fix for user/group mismatch in recipes/server_ec2.rb

mariadb::server will install with user/group owner of 'mysql' by default, while recipe/server_ec2.rb expects user & group to be 'mariadb'.

this patch allows recipes/server_ec2.rb to use two new default options set in attributes/server.rb:

default['mariadb']['service']['user'] = 'mysql'
default['mariadb']['service']['group'] = 'mysql'

recipes/server.rb should also be refactored to support custom user/group.