From 3cba2ff0634067e2817229050921d400316d782f Mon Sep 17 00:00:00 2001 From: Lennart Betz Date: Mon, 3 Jun 2024 11:22:17 +0200 Subject: [PATCH] Fix eventlog as logging_type on Windows --- manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 7f87fa6..e0410a2 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -208,8 +208,8 @@ 'windows': { $manage_repo = false - if $logging_type != 'file' { - fail('Only file is supported as logging_type on Windows') + if $logging_type == 'syslog' { + fail('Only eventlog and file is supported as logging_type on Windows') } }