From 06f6c709a812cafc2ab27f4e8509e72e303f5e33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Nyk=C3=A4nen?= Date: Fri, 3 Jan 2025 14:44:08 +0200 Subject: [PATCH] Set python module name from module variable Module name can be different than name of imported module. These might be rare cases, but one example for those is collectd-haproxy. --- manifests/plugin/python/module.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/plugin/python/module.pp b/manifests/plugin/python/module.pp index 393cbe57..5a522ca4 100644 --- a/manifests/plugin/python/module.pp +++ b/manifests/plugin/python/module.pp @@ -55,7 +55,7 @@ { 'title' => $title, 'config' => $config, - 'module' => $_module_import, + 'module' => $module, }, ), }