Last active
August 29, 2015 14:07
-
-
Save olivierlambert/d566ce3a1058b8f732ec to your computer and use it in GitHub Desktop.
Salt Formula for 'n'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package_for_n: | |
pkg: | |
- installed | |
- pkgs: | |
- curl | |
download_n: | |
cmd.run: | |
- name: 'curl -o /usr/local/bin/n https://raw.githubusercontent.com/visionmedia/n/master/bin/n' | |
- unless: which n | |
executable_n: | |
cmd.run: | |
- name: 'chmod +x /usr/local/bin/n' | |
install_n: | |
cmd.run: | |
- name: '/usr/local/bin/n stable' | |
- env: | |
- PATH: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment