Skip to content

Commit

Permalink
PR 654 was incorrectly using stdlib dirname
Browse files Browse the repository at this point in the history
puppetlabs-mysql has a dependency on stdlib 3.2.0, which does not
include the dirname function.
  • Loading branch information
Morgan Haskel committed Feb 24, 2015
1 parent e323f69 commit c1191f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/server/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
$logbin = pick($options['mysqld']['log-bin'], $options['mysqld']['log_bin'], false)

if $logbin {
$logbindir = dirname($logbin)
$logbindir = mysql_dirname($logbin)

#Stop puppet from managing directory if just a filename/prefix is specified
if $logbindir != '.' {
Expand Down

0 comments on commit c1191f1

Please sign in to comment.