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
Stop using latest for packages installed by puppet. This way,
all system packages get updated, not just some random ones.
The unattended-upgrades config will email root. It is configured
for openstack servers and jenkins slaves, but not template hosts
so that it doesn't interfere with spin-up.
Also, fix some bits in the gerrit module that were causing
continuous restarts on gerrit-dev.
Install emacs.
Change-Id: I51c9083ccd3669f284fce4b50c36a37a0cac92d8
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
This should re-enable pypi.openstack.org - which at this point should have every package we want.
This reverts commit 4369225cf91c20ea3b33d2b10628d57b60a96f0d
Don't use github scm when using gerrit-git-prep
Will require me manually going in and clearing workspaces
Fixes #1006636
Change-Id: If03633d2d37ad3219f81eb5e75649b4ccfa1a57c
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
Add a project module type with some special case rules so that
the general case does not have to add one to its yaml files.
Change-Id: Id110e79c34fa3982275f549d017adb03a1faf473
Now if more than one change is merged, it expects them all to be
in the variable GERRIT_CHANGES, and GERRIT_REFSPEC is ignored.
Change-Id: I717057c728c3c178ea3d15b7d1315c086e982484