Skip to content

Commit

Permalink
fix(debian): allow version to be user-provided, don't force v13
Browse files Browse the repository at this point in the history
Set node:pkg:version to 14 in defaults
  • Loading branch information
Tristan Charbonneau committed Jan 20, 2021
1 parent 1f0a3d2 commit 9b1eb68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ node:
source: /usr/local/src
pkg:
name: nodejs
version: null
version: '14'
use_upstream_repo: false
use_upstream_archive: false
use_upstream_source: false
Expand Down
2 changes: 1 addition & 1 deletion node/osfamilymap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Debian:
{%- if 'oscodename' in grains %}
repo:
humanname: NodeSource Node.js Repository
name: deb https://deb.nodesource.com/node_13.x {{ grains.oscodename }} main
name: deb https://deb.nodesource.com/node_{{ salt['pillar.get']('node:pkg:version') }}.x {{ grains.oscodename }} main
dist: {{ grains['oscodename'] }}
file: /etc/apt/sources.list.d/nodesource.list
key_url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key
Expand Down

0 comments on commit 9b1eb68

Please sign in to comment.