Merge pull request #677 from mhaskel/fix_for_654
PR 654 was incorrectly using stdlib dirname
This commit is contained in:
commit
037d30d82c
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class mysql::server::config {
|
||||||
$logbin = pick($options['mysqld']['log-bin'], $options['mysqld']['log_bin'], false)
|
$logbin = pick($options['mysqld']['log-bin'], $options['mysqld']['log_bin'], false)
|
||||||
|
|
||||||
if $logbin {
|
if $logbin {
|
||||||
$logbindir = dirname($logbin)
|
$logbindir = mysql_dirname($logbin)
|
||||||
|
|
||||||
#Stop puppet from managing directory if just a filename/prefix is specified
|
#Stop puppet from managing directory if just a filename/prefix is specified
|
||||||
if $logbindir != '.' {
|
if $logbindir != '.' {
|
||||||
|
|
Loading…
Reference in a new issue