Skip to content

Commit

Permalink
add default param
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Williams committed Jun 21, 2014
1 parent a2c17b3 commit a8859a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion nvm/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ nvm_{{ name }}:
source {{ home }}/.nvm/nvm.sh;
{%- for version in installs %}
nvm install {{ version }};
nvm alias default {{ default }};
{%- endfor %}
- shell: "/bin/bash"
- require:
Expand All @@ -46,4 +47,4 @@ nvm_deps:
- libssl-dev
- curl

{% endfor %}
{% endfor %}
4 changes: 3 additions & 1 deletion pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ nvm:
michael:
install:
- "0.8"
- "0.10"
- "0.10"
default:
- "0.10"

0 comments on commit a8859a5

Please sign in to comment.