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.
1 parent ca37c49 commit 48896b6Copy full SHA for 48896b6
node/binary.sls
@@ -3,16 +3,11 @@
3
{% set checksum = node.get('checksum', 'f037e2734f52b9de63e6d4a4e80756477b843e6f106e0be05591a16b71ec2bd0') -%}
4
{% set pkgname = 'node-v' ~ version ~ '-linux-x64' -%}
5
6
-Get binary package:
7
- file.managed:
8
- - name: /usr/local/src/{{ pkgname }}.tar.gz
9
- - source: https://nodejs.org/dist/v{{ version }}/{{ pkgname }}.tar.gz
10
- - source_hash: sha256={{ checksum }}
11
-
12
Extract binary package:
13
archive.extracted:
14
- name: /usr/local/src/
15
- - source: /usr/local/src/{{ pkgname }}.tar.gz
+ - source: https://nodejs.org/dist/v{{ version }}/{{ pkgname }}.tar.gz
+ - source_hash: sha256={{ checksum }}
16
- archive_format: tar
17
- if_missing: /usr/local/src/{{ pkgname }}
18
0 commit comments