We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58f1c7d + feb2189 commit 83c70b9Copy full SHA for 83c70b9
node/map.jinja
@@ -17,6 +17,10 @@
17
{% set npmrc = '{0}/etc/npmrc'.format(npmrc_prefix) %}
18
19
{% set node = salt['grains.filter_by']({
20
+ 'CentOS': {
21
+ 'node_pkg': 'nodejs',
22
+ 'npm_pkg': 'npm',
23
+ },
24
'Debian': {
25
'node_pkg': 'nodejs' if grains['osrelease']|float < 8 or pillar_get('node:install_from_ppa') else 'nodejs-legacy',
26
'npm_pkg': 'nodejs' if pillar_get('node:install_from_ppa') else 'npm',
0 commit comments