File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
{% set node = pillar.get(' node' , {}) - %}
2
2
{% set version = node.get(' version' , ' 6.10.0' ) - %}
3
- {% set checksum = node.get(' checksum' , ' f037e2734f52b9de63e6d4a4e80756477b843e6f106e0be05591a16b71ec2bd0 ' ) - %}
3
+ {% set checksum = node.get(' checksum' , ' 20b144da9bc3c314abfb760e90580a94091037257fc0b2c32871bc29257f7545 ' ) - %}
4
4
{% if grains.get(' osarch' , {}) == ' armhf' - %}
5
5
{% set arch = ' armv7l' - %}
6
6
{% else - %}
@@ -20,13 +20,12 @@ Get binary package:
20
20
file.managed :
21
21
- name: /usr/local/src/ {{ pkgname }}.tar.{{ format }}
22
22
- source: https://nodejs.org/dist/v {{ version }}/{{ pkgname }}.tar.{{ format }}
23
- - source_hash: sha256= {{ checksum }}
23
+ - source_hash: {{ checksum }}
24
24
25
25
Extract binary package :
26
26
archive.extracted :
27
27
- name: /usr/local/src/
28
- - source_hash: {{ checksum }}
29
- - source: /usr/local/src/ {{ pkgname }}.tar.gz
28
+ - source: /usr/local/src/ {{ pkgname }}.tar.{{ format }}
30
29
- archive_format: tar
31
30
- options: {{ tar_options }}
32
31
- if_missing: /usr/local/src/ {{ pkgname }}
You can’t perform that action at this time.
0 commit comments