Skip to content

Commit b139f1a

Browse files
committed
Merge pull request #28 from johnkeates/master
Allow package pinning when using package repo
2 parents 83c70b9 + f6c8b57 commit b139f1a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

node/pkg.sls

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ nodejs:
2121
pkg.installed:
2222
- name: {{ node.node_pkg }}
2323
- reload_modules: true
24+
{%- if salt['pillar.get']('node:version') %}
25+
- version: {{ salt['pillar.get']('node:version') }}
26+
{%- endif %}

0 commit comments

Comments
 (0)