Open neurogenesis opened 10 years ago
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.
For consistency, the user/group settings should be set in all other recipes too. Otherwise this leads to a confusing attribute setting - unless it gets scoped within an ec2 name.
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.