Skip to content

Instantly share code, notes, and snippets.

@groovecoder
Created October 6, 2013 01:06
Show Gist options
  • Save groovecoder/6848042 to your computer and use it in GitHub Desktop.
Save groovecoder/6848042 to your computer and use it in GitHub Desktop.
}
exec { 'npm-install':
cwd => "/home/vagrant/src/kumascript",
user => 'vagrant',
command => "/usr/bin/npm install fibers",
creates => "/home/vagrant/src/kumascript/node_modules/fibers",
require => [
Package["nodejs"], Package["nodejs-dev"], Package["npm"],
File["/usr/include/node"], File["/root/.npm"]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment