Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mypkgs:
- pkg.installed:
- - pkgs:
- - build-essential
- - libssl-dev
- /tmp/node.tar.gz:
- file.managed:
- - source: http://nodejs.org/dist/v0.10.21/node-v0.10.21.tar.gz
- - source_hash: md5=774bc17875c042ac42ad2d96b9c96734
- node-prepare:
- cmd.wait:
- - name: tar --strip-components=1 -zxf node.tar.gz
- - cwd: /tmp
- - watch:
- - file: /tmp/node.tar.gz
- node-config:
- cmd.wait:
- - name: ./configure
- - cwd: /tmp/
- - watch:
- - cmd: node-prepare
- node-compile:
- cmd.wait:
- - name: make install
- - cwd: /tmp/node-v0.10.21
- - watch:
- - cmd: node-config
- ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement