Skip to content

Commit 881ab4e

Browse files
committed
Repair check of logbindir
Presumably the intention was to check that it is *both* not relative and not already managed. After update to 10.8 the mysql module tries and fails to manage '.' on nodes where i have log-bin set to a relative path.
1 parent 27ee01b commit 881ab4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/server/managed_dirs.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
$logbindir = dirname($logbin)
3232

3333
#Stop puppet from managing directory if just a filename/prefix is specified or is not already managed
34-
if ($logbindir != '.' or !($logbindir in $managed_dirs_path)) {
34+
if (!($logbindir == '.' or $logbindir in $managed_dirs_path)) {
3535
file { $logbindir:
3636
ensure => directory,
3737
mode => '0700',

0 commit comments

Comments
 (0)