From 84612dbd8228c01f5dcc4f7b7c22ac3d9a09a013 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Fri, 27 Oct 2023 10:07:31 +0200 Subject: [PATCH] ensure npm to present by default on EL nodesource started adding "provides: npm" to their nodejs packages, which makes our code uninstall the nodejs package again --- manifests/params.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 78db11b4..8a70a8c8 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -38,7 +38,7 @@ $nodejs_dev_package_name = 'nodejs-devel' $nodejs_dev_package_ensure = 'absent' $nodejs_package_name = 'nodejs' - $npm_package_ensure = 'absent' + $npm_package_ensure = 'present' $npm_package_name = 'npm' $npm_path = '/usr/bin/npm' $repo_class = 'nodejs::repo::nodesource'