Skip to content

Commit

Permalink
Update default release to 18.x, which is latest LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Oct 19, 2023
1 parent f092875 commit 5a34465
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
```

Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'] ? {
Expand Down

0 comments on commit 5a34465

Please sign in to comment.