Merge pull request #677 from mhaskel/fix_for_654

PR 654 was incorrectly using stdlib dirname
This commit is contained in:
Colleen Murphy 2015-02-24 12:01:44 -08:00
commit 037d30d82c

View file

@ -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 != '.' {