diff --git a/README.md b/README.md index b1270885..80ea5fed 100644 --- a/README.md +++ b/README.md @@ -50,14 +50,14 @@ To install Node.js and npm (using the NodeSource repository if possible): class { 'nodejs': } ``` -The default version installed is currently `12.x`. +The default version installed is currently `18.x`. -If you wish to install a Node.js 13.x release from the NodeSource repository -rather than 12.x on Debian/RHEL platforms: +If you wish to install a Node.js 21.x release from the NodeSource repository +rather than 18.x on Debian/RHEL platforms: ```puppet class { 'nodejs': - repo_url_suffix => '13.x', + repo_url_suffix => '21.x', } ``` diff --git a/manifests/params.pp b/manifests/params.pp index abeb4cb0..78db11b4 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -11,7 +11,7 @@ $repo_proxy_password = 'absent' $repo_proxy_username = 'absent' $repo_release = undef - $repo_url_suffix = '12.x' + $repo_url_suffix = '18.x' $use_flags = ['npm', 'snapshot'] $cmd_exe_path = $facts['os']['family'] ? {