We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8c6e0d commit d2ad637Copy full SHA for d2ad637
manifests/server/managed_dirs.pp
@@ -30,8 +30,8 @@
30
if $logbin {
31
$logbindir = dirname($logbin)
32
33
- #Stop puppet from managing directory if just a filename/prefix is specified
34
- if $logbindir != '.' {
+ #Stop puppet from managing directory if just a filename/prefix is specified or is datadir
+ if ($logbindir != '.' and $logbindir != $mysql::server::options['mysqld']['datadir'] ) {
35
file { $logbindir:
36
ensure => directory,
37
mode => '0700',
0 commit comments