-
Notifications
You must be signed in to change notification settings - Fork 794
Check for full path for log-bin to stop puppet from managing directory “." #654
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
Conversation
group => $options['mysqld']['user'], | ||
|
||
#Stop puppet from managing directory if just a filename/prefix is specified | ||
if $logbindir != '.' { |
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.
i'm confused about this: when do we (anyone?) set logbindir to .? how do we know to set it to .?
As I read it, if we don't specify an absolute path, then dirname($logbin) will set $logbindir to ".". In that case, we don't to have the file resource for that dir. |
I am also currently running into this issue. We can please get this merged ASAP? @NoodlesNZ it looks like you need to rebase your branch |
I have rebased, but CI is taking a while. |
Check for full path for log-bin to stop puppet from managing directory “."
i see now how this makes sense |
:) Thanks for the merge |
mode => '0755', | ||
owner => $options['mysqld']['user'], | ||
group => $options['mysqld']['user'], | ||
$logbindir = dirname($logbin) |
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.
This needs to use mysql_dirname
not dirname
as the stdlib requirement is > 3.2.0.
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.
Issued #677 to fix this.
As reported by @larkit-ian in PR #596