From 68cba94ab51df0c4fae4ae5c6e0b9d98d072e588 Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Tue, 2 Jul 2013 22:34:27 +0300 Subject: [PATCH] etherpadlite: Include nodejs --- etherpadlite/README | 11 +---------- etherpadlite/manifests/init.pp | 2 ++ 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/etherpadlite/README b/etherpadlite/README index 57d1796..88b8ed3 100644 --- a/etherpadlite/README +++ b/etherpadlite/README @@ -1,12 +1,3 @@ -= Install node.js (for CentOS) = - -yum install v8-devel openssl-devel zlib-devel -mkdir /usr/local/src/nodejs && cd /usr/local/src/nodejs -wget http://nodejs.org/dist/node-latest.tar.gz -tar xzvf node-latest.tar.gz && cd node-v* -./configure --shared-v8 --shared-openssl --shared-zlib -make install - = Install etherpad-lite = su -s /bin/bash - etherpad @@ -17,7 +8,7 @@ bin/run.sh ^C npm install ep_monospace_default -= Starting etherpad-lite = += Start etherpad-lite = su -s /bin/bash - etherpad tmux new etherpad-lite/bin/run.sh diff --git a/etherpadlite/manifests/init.pp b/etherpadlite/manifests/init.pp index 46fc735..259a4ae 100644 --- a/etherpadlite/manifests/init.pp +++ b/etherpadlite/manifests/init.pp @@ -2,6 +2,8 @@ # class etherpadlite { + include nodejs + include user::system realize(User["etherpad"], Group["etherpad"])