-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/fix dependency issue in freebsd with log error file creation from 10.0.0 #1221
Fix/fix dependency issue in freebsd with log error file creation from 10.0.0 #1221
Conversation
You have two unrelated commit in the PR (the 2 last). I think you can fix this situation by:
|
Regarding dependency on user, group, the file resource will autorequire them. |
5259475
to
6fbd5a8
Compare
Thanks for that, that's done.
I know that puppet normally does a good job of autorequiring things like this, however, I think that the user and group are created by the package and that's outside of the realm of what puppet knows about. |
Oh, I see… Yes, that totally makes sense! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As you said, the user and group will be created by the package, so we should require it.
I don't think that this is required. The chaining in the Here's the full chain from the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rick-pri thanks for the PR, looks good to us.
Change relationship between the log-error file and the mysql datadir. In FreeBSD this file needs to be present before trying to create the datadir and running the initdb step but will only be created if the option exists.
We should probably also have a require on the log-error file resource for
Package[ $mysql::server::package_name ]
so that theuser
andgroup
are present, however, this is probably ensured by the chaining elsewhere.