Skip to content

Commit 81f1f7c

Browse files
committed
Updated checksum for linux x64 gz version
1 parent 6ae1068 commit 81f1f7c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

node/binary.sls

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% set node = pillar.get('node', {}) -%}
22
{% set version = node.get('version', '6.10.0') -%}
3-
{% set checksum = node.get('checksum', 'f037e2734f52b9de63e6d4a4e80756477b843e6f106e0be05591a16b71ec2bd0') -%}
3+
{% set checksum = node.get('checksum', '20b144da9bc3c314abfb760e90580a94091037257fc0b2c32871bc29257f7545') -%}
44
{% if grains.get('osarch', {}) == 'armhf' -%}
55
{% set arch = 'armv7l' -%}
66
{% else -%}
@@ -20,13 +20,12 @@ Get binary package:
2020
file.managed:
2121
- name: /usr/local/src/{{ pkgname }}.tar.{{ format }}
2222
- source: https://nodejs.org/dist/v{{ version }}/{{ pkgname }}.tar.{{ format }}
23-
- source_hash: sha256={{ checksum }}
23+
- source_hash: {{ checksum }}
2424

2525
Extract binary package:
2626
archive.extracted:
2727
- name: /usr/local/src/
28-
- source_hash: {{ checksum }}
29-
- source: /usr/local/src/{{ pkgname }}.tar.gz
28+
- source: /usr/local/src/{{ pkgname }}.tar.{{ format }}
3029
- archive_format: tar
3130
- options: {{ tar_options }}
3231
- if_missing: /usr/local/src/{{ pkgname }}

0 commit comments

Comments
 (0)