Coder Social home page Coder Social logo

Comments (5)

eprochasson avatar eprochasson commented on June 21, 2024

It does, but the versions provided are super outdated. Moreover, we only deploy LTS version (latest is 10.04...) which I don't think includes nodejs. My personal ubuntu provides nodejs v0.1.97...

However, it's not too complicated to install it using a package, best way would be to have an option to either compile it or install the package. Contribution welcome, or I'll try to spend a bit of time on that later this week.

Thanks for the comments !

from cookbook-node.

edbo avatar edbo commented on June 21, 2024

+1 for allowing this to be included but I don't think it should be the default way at the moment for the reasons mentioned above

from cookbook-node.

jellybob avatar jellybob commented on June 21, 2024

Hi there,

I'm just finishing work on allowing the choice between compiling from source or installing from packages where they're available - I actually started writing it before I thought to check if anyone had done it already!

It's controlled by the attribute node/install_from_source, which defaults to true so that existing users don't get hit by a sudden change.

The code can be found at https://github.com/jellybob/kitchen/tree/node/. I've only tested it on Ubuntu 11.04, which is the only version which currently has a nodejs package. If the cookbook detects that no packages are available then it will raise an error, notifying the user that they should install from source.

It would be great if you could merge this so that I can depend on a maintained node cookbook for my statsd cookbook, which should also allow it to support versions < 11.04.

Jon

from cookbook-node.

eprochasson avatar eprochasson commented on June 21, 2024

Awesome ! I'll have a look. Thanks a lot.

On Jun 25, 2011 8:54 PM, "jellybob" <
[email protected]>
wrote:

Hi there,

I'm just finishing work on allowing the choice between compiling from
source or installing from packages where they're available - I actually
started writing it before I thought to check if anyone had done it already!

It's controlled by the attribute node/install_from_source, which defaults
to true so that existing users don't get hit by a sudden change.

The code can be found at https://github.com/jellybob/kitchen/tree/node/.
I've only tested it on Ubuntu 11.04, which is the only version which
currently has a nodejs package. If the cookbook detects that no packages are
available then it will raise an error, notifying the user that they should
install from source.

It would be great if you could merge this so that I can depend on a
maintained node cookbook for my statsd cookbook, which should also allow it
to support versions < 11.04.

Jon

Reply to this email directly or view it on GitHub:

#1 (comment)

from cookbook-node.

eprochasson avatar eprochasson commented on June 21, 2024

I merge your changed and republished the cookbook to chef. Thanks a lot, help most appreciated.

from cookbook-node.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.