Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install dependencies from package.json #167

Closed
rougeth opened this issue Sep 21, 2015 · 3 comments
Closed

install dependencies from package.json #167

rougeth opened this issue Sep 21, 2015 · 3 comments

Comments

@rougeth
Copy link

rougeth commented Sep 21, 2015

Is there a way to use this module to install dependencies on a package.json file?

@igalic
Copy link
Contributor

igalic commented Sep 21, 2015

exec { 'install deps for my wintersmith blog'
  command => 'npm install',
  cwd     => '/srv/web/blog',
  creates => 'node_modules',
  path    => [ '/bin', '/usr/bin', '/usr/local/bin' ],
}

@rougeth
Copy link
Author

rougeth commented Sep 22, 2015

@igalic thanks

@juniorsysadmin
Copy link
Member

Also see #154 for a short discussion on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants