Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

fix for user/group mismatch in recipes/server_ec2.rb #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

fix for user/group mismatch in recipes/server_ec2.rb #8

wants to merge 3 commits into from

Conversation

neurogenesis
Copy link

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.

@joerocklin
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants