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"])