Advertisement
Guest User

Untitled

a guest
Nov 8th, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. mypkgs:
  2. pkg.installed:
  3. - pkgs:
  4. - build-essential
  5. - libssl-dev
  6.  
  7.  
  8. /tmp/node.tar.gz:
  9. file.managed:
  10. - source: http://nodejs.org/dist/v0.10.21/node-v0.10.21.tar.gz
  11. - source_hash: md5=774bc17875c042ac42ad2d96b9c96734
  12.  
  13. node-prepare:
  14. cmd.wait:
  15. - name: tar --strip-components=1 -zxf node.tar.gz
  16. - cwd: /tmp
  17. - watch:
  18. - file: /tmp/node.tar.gz
  19.  
  20. node-config:
  21. cmd.wait:
  22. - name: ./configure
  23. - cwd: /tmp/
  24. - watch:
  25. - cmd: node-prepare
  26.  
  27. node-compile:
  28. cmd.wait:
  29. - name: make install
  30. - cwd: /tmp/node-v0.10.21
  31. - watch:
  32. - cmd: node-config
  33. ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement