Skip to content

Commit 3bd32ac

Browse files
committed
Correct condition
1 parent c69144f commit 3bd32ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/server/managed_dirs.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
$logbindir = dirname($logbin)
3333

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

0 commit comments

Comments
 (0)