Skip to content

Commit

Permalink
Merge pull request #53 from Yoda-BZH/fix-debian-fixed-version
Browse files Browse the repository at this point in the history
fix(debian): allow version to be user-provided, don't force v13
  • Loading branch information
noelmcloughlin authored Aug 9, 2021
2 parents 58bd6d8 + 9b1eb68 commit 79081c9
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 79081c9

Please sign in to comment.