aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Amicel <ronan.amicel@gmail.com>2012-10-12 12:25:04 +0200
committerRonan Amicel <ronan.amicel@gmail.com>2012-10-13 12:22:48 +0200
commit77b6eef58fdb1acb7e1a3fbe9efd71aa6213fbcb (patch)
tree9094ccf1696313fb78e98d09096362ac75ebfb10
parentUpdate Node.js documentation (diff)
downloadfabtools-77b6eef58fdb1acb7e1a3fbe9efd71aa6213fbcb.tar.xz
Update default Node.js version to 0.8.11
-rw-r--r--fabtools/nodejs.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/fabtools/nodejs.py b/fabtools/nodejs.py
index e4d4c9f..157ab49 100644
--- a/fabtools/nodejs.py
+++ b/fabtools/nodejs.py
@@ -13,7 +13,10 @@ from fabric.api import run, sudo, cd
from fabtools import require
-def install_nodejs(version="0.8.9"):
+DEFAULT_VERSION = '0.8.11'
+
+
+def install_nodejs(version=DEFAULT_VERSION):
"""
Install Node JS from source.