Puppet Class: lsys::nodejs
- Defined in:
- manifests/nodejs.pp
Summary
NodeJS installationOverview
NodeJS installation
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'manifests/nodejs.pp', line 7
class lsys::nodejs (
# https://nodejs.org/en/about/releases/
# 12.x - EOL 2022-04-30
# 14.x - EOL 2023-04-30
# 15.x - EOL 2021-06-01
# 16.x - EOL 2024-04-30
# 18.x - EOL 2025-04-30
# 19.x - EOL 2023-06-01
# 20.x - EOL 2026-04-30
Enum['14.x', '15.x', '16.x', '18.x', '19.x', '20.x'] $release = '18.x',
) {
class { 'nodejs':
repo_url_suffix => $release,
repo_enable_src => false,
}
file { '/etc/yum.repos.d/nodesource.repo':
mode => '0640',
}
}
|