From 44b278be462e2c995e5cae3f99e405c534b1ae62 Mon Sep 17 00:00:00 2001 From: Anders Nordby Date: Mon, 17 Jul 2023 10:45:19 +0200 Subject: [PATCH] Don't do nodejs::install when manage_package_repo is set to false. --- manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 1e361474..e3fc9bc1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -31,9 +31,9 @@ fail("${module_name}: The manage_package_repo parameter was set to true but no repo_class was provided.") } - contain 'nodejs::install' - if $manage_package_repo { + contain 'nodejs::install' + include $repo_class Class[$repo_class]