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]