Skip to content

Commit c1191f1

Browse files
author
Morgan Haskel
committed
PR 654 was incorrectly using stdlib dirname
puppetlabs-mysql has a dependency on stdlib 3.2.0, which does not include the dirname function.
1 parent e323f69 commit c1191f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/server/config.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
$logbin = pick($options['mysqld']['log-bin'], $options['mysqld']['log_bin'], false)
2323

2424
if $logbin {
25-
$logbindir = dirname($logbin)
25+
$logbindir = mysql_dirname($logbin)
2626

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

0 commit comments

Comments
 (0)