The version of node.js packaged by ubuntu does not seem to play nice
with require-kernel and etherpad-lite. Go back to compiling version
0.6.16 of node.js which is tested and appears to be working.
Change-Id: Ib9bda5d7acbda06561398a0c715b28e46edb531d
Set custom pad.js file to mode 0644. Add nginx config for Etherpad-Lite
to sites-available then symlink to that from sites-enabled. Use Ubuntu
packages for Node.js and NPM instead of building from source (Precise
appears to have fairly recent packages that work).
Change-Id: I752a10ea32b462ef0cc8a5a515dd44c9390a4776
Before this commit etherpad lite would run a git pull or clone
every time puppet was run. Make that behavior toggleable. Now
etherpad lite will only clone and checkout the branch specified.
This makes puppet less chatty to upstream.
Also, fix a quoting issue in etherpad lite's mysql manifest. The
eplite user's password was being reset each time puppet ran due to
having single quotes around backticks in the unless clause.
Change-Id: I74418ebaba82902906d04f18386de6f6bd6259bb
Etherpad Lite does not give up its log files sanely. Instead
according to their bug tracker one should use logrotate's
copytruncate option. So we will use copytruncate.
Change-Id: Ic76d215bf35f3aa64ca5764512debb5cdcfca60e
Puppet will now add a cron job and configure logrotate to backup
etherpad-lite's MySQL DB daily and keep a months worth of backups.
These are the defaults and are slightly configurable through the
etherpad_lite::backup class.
Also configure log rotation for etherpad-lite's error.log and
access.log.
Change-Id: I30e0a4c8ee852e6621ee74744968d85696658608
Etherpad lite has changed their source tree slightly. This has
required a few updates to the etherpad lite puppet module. The
custom pad.js needs to go in a different directory and the upstart
conf file needs a couple updated paths.
In addition to the fixes a couple things have been cleaned up. Now
define an etherpadlite.openstack.org node in site.pp and copy SSL
certs from /root/secret-files.
Change-Id: I312b419aa98212b6db68232c672bc4d75f23777f
Part of the work necessary for bug #995248
Puppet module to do a basic install of etherpad-lite. Currently
installs etherpad-lite and node.js. Configures etherpad-lite to use
mysql for its DB backend and sets up nginx to reverse proxy
etherpad-lite.
Change-Id: I3ee1ce4594fcf2a27b520a3ad7a024318f69111a