File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
This formula installs [ node.js] ( https://nodejs.org/en/ ) .
4
4
5
+ ## Installing from PPA
6
+
7
+ An example pillar for installing from Debian based PPA repository:
8
+
9
+ node:
10
+ version: 6.9.4
11
+ install_from_ppa: True
12
+ ppa:
13
+ repository_url: https://deb.nodesource.com/node_6.x
14
+
5
15
## Installing from source
6
16
7
17
An example pillar file looks as follows:
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ nodejs.ppa:
8
8
- pkgrepo: nodejs.ppa
9
9
pkgrepo.managed:
10
10
- humanname: NodeSource Node.js Repository
11
- - name: deb {{ salt[' pillar.get' ](' node:ppa:repository_url' , ' https://deb.nodesource.com/node_0.12 ' ) }} {{ grains[' oscodename' ] }} main
11
+ - name: deb {{ salt[' pillar.get' ](' node:ppa:repository_url' , ' https://deb.nodesource.com/node_6.x ' ) }} {{ grains[' oscodename' ] }} main
12
12
- dist: {{ grains[' oscodename' ] }}
13
13
- file : / etc/ apt/ sources.list.d/ nodesource.list
14
14
- keyid: " 68576280"
Original file line number Diff line number Diff line change 13
13
14
14
# Install from PPA:
15
15
node:
16
- version: 5.4.0
16
+ version: 6.9.4
17
17
install_from_ppa: True
18
18
ppa:
19
- repository_url: https://deb.nodesource.com/node_5 .x
19
+ repository_url: https://deb.nodesource.com/node_6 .x
You can’t perform that action at this time.
0 commit comments