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! |
I don't think that this is required. The chaining in the Here's the full chain from the |
ThoughtCrhyme
left a comment
There was a problem hiding this comment.
@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 theuserandgroupare present, however, this is probably ensured by the chaining elsewhere.