Skip to content

Commit f46aa3a

Browse files
elfranneCiaran McCrisken
authored and
Ciaran McCrisken
committed
double declaration case fix
1 parent 1489149 commit f46aa3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manifests/server/managed_dirs.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
if $logbin {
3131
$logbindir = dirname($logbin)
3232

33-
#Stop puppet from managing directory if just a filename/prefix is specified
34-
if $logbindir != '.' {
33+
#Stop puppet from managing directory if just a filename/prefix is specified or is datadir
34+
if ($logbindir != '.' and $logbindir != $mysql::server::options['mysqld']['datadir'] ) {
3535
file { $logbindir:
3636
ensure => directory,
3737
mode => '0700',

0 commit comments

Comments
 (0)