Comments (5)
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.
+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.
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.
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:
from cookbook-node.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cookbook-node.