Commit 9f29e3b5 authored by root's avatar root

Include new version of NodeJS

parent 4c4d3144
......@@ -8,7 +8,7 @@ nodejs.ppa:
- pkgrepo: nodejs.ppa
pkgrepo.managed:
- humanname: NodeSource Node.js Repository
- name: deb {{ salt['pillar.get']('node:ppa:repository_url', 'https://deb.nodesource.com/node_8.x') }} {{ grains['oscodename'] }} main
- name: deb {{ salt['pillar.get']('node:ppa:repository_url', 'https://deb.nodesource.com/node_10.x') }} {{ grains['oscodename'] }} main
- dist: {{ grains['oscodename'] }}
- file: /etc/apt/sources.list.d/nodesource.list
- keyid: "68576280"
......@@ -19,7 +19,7 @@ nodejs.ppa:
{%- else %}
nodejs.rpm:
cmd.run:
- name: "curl -sL https://rpm.nodesource.com/setup_8.x | bash -"
- name: "curl -sL https://rpm.nodesource.com/setup_10.x | bash -"
- unless: yum list installed {{ node.node_pkg }}
- require_in:
- pkg: nodejs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment