File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 {% - do node .pkg .repo .update ({
4040 'name' : full_repo_name }) -%}
4141{% - endif -%}
42-
43- ## Legacy support (remove on/after Jan 2021) ##
44-
45- {% - if salt ['pillar.get' ]('node:install_from_ppa' ) %}
46- {% - do node .pkg .update ({ 'use_upstream_repo' : True }) %}
47- {% - if salt ['pillar.get' ]('node:version' ) %}
48- {% - do node .pkg .update ({ 'version' : salt ['pillar.get' ]('node:version' )}) %}
49- {% - endif %}
50- {% - endif %}
51- {% - if salt ['pillar.get' ]('node:install_from_source' ) %}
52- {% - do node .pkg .update ({ 'use_upstream_source' : True }) %}
53- {% - if salt ['pillar.get' ]('node:checksum' ) %}
54- {% - do node .pkg .source .update ({ 'source_hash' : salt ['pillar.get' ]('node:checksum' ) }) %}
55- {% - endif %}
56- {% - endif %}
57- {% - if salt ['pillar.get' ]('node:install_from_archive' ) %}
58- {% - do node .pkg .update ({ 'use_upstream_archive' : True }) %}
59- {% - if salt ['pillar.get' ]('node:checksum' ) %}
60- {% - do node .pkg .archive .update ({ 'source_hash' : salt ['pillar.get' ]('node:checksum' ) }) %}
61- {% - endif %}
62- {% - endif %}
You can’t perform that action at this time.
0 commit comments