Skip to content

Commit 17f4d76

Browse files
authored
Require PPA before installing nodejs
I fixed my salt state by changing the `require_in` to `nodejs`. Otherwise I had times were it would try to install `nodejs` first and then setup the PPA which obviously was incorrect, but it also wasn't clear why.
1 parent 70507ab commit 17f4d76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node/pkg.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ nodejs.ppa:
1515
- key_url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key
1616
- keyserver: keyserver.ubuntu.com
1717
- require_in:
18-
pkg: node
18+
- pkg: nodejs
1919
{%- endif %}
2020
nodejs:
2121
pkg.installed:

0 commit comments

Comments
 (0)