Commit Graph

15 Commits

Author SHA1 Message Date
Monty Taylor 711295e918 Remove old etherpad.openstack.org
Once the DNS is swapped over to point at etherpad.opendev.org
we can delete the old stuff.

Change-Id: I626dd22b22a23619fcf460533336f1ddfec615d9
2020-04-19 10:58:46 -05:00
Jeremy Stanley c03591d776 Upgrade etherpad-dev server to Node 10.x
The Nodesource repo has Node 10.x packages for Ubuntu Xenial, so we
can give that a try. Latest versions of Etherpad require at least
8.x but running newer should be fine if we can.

Change-Id: Ib49a5ddaec5a4786ec8ec0042faee06b11603bee
2020-03-31 20:14:25 +00:00
Zuul cab657cf65 Merge "Add digit support to etherpad servers" 2018-10-08 16:52:28 +00:00
Clark Boylan 109f20e444 Retain fewer etherpad database backups
These backups were kept locally for convenience of operation. Bup stores
blobs in git so it should be effectively deduping these over time so
wasn't a stress on remote backups. However now we are filling the local
disk with the db backup files.

Address this by reducing the number of local backups to 5 (from 10).

Change-Id: I1765836784752dba2a6f2582801b860fcce4843c
2018-10-03 06:44:58 -07:00
Clark Boylan 0f0031d16e Add digit support to etherpad servers
Looking at upgrading etherpad servers to Xenial and realize that we
haven't "digitized" them yet. Lets get that in first so that the new
instances we boot can be etherpad01 and etherpad-dev01.

Change-Id: I700a1d018ab37436f11b2d883d79c82db7f1d6b1
2018-09-24 13:33:44 -07:00
Jeremy Stanley 1057485456 Use nodejs 6.x on etherpad-dev.o.o
Latest versions of Etherpad no longer start under nodejs 0.10 and
need a minimum of 6.x, so start installing and using the newer
non-system-packaged version.

Change-Id: I2d7804cd5e53603e40fc7d821effb74cc334e78e
2018-04-09 15:22:44 +00:00
Jeremy Stanley b181a0651f Upgrade etherpad-dev to Ubuntu Trusty
Upgrade etherpad-dev to Ubuntu Trusty and switch from node.js
compiled from source to the nodejs/npm distro packages there.

Change-Id: Ia1830c88bdd0fc7e934ebbca4fcbfb9996151d13
2015-08-28 16:03:04 +00:00
George Peristerakis 655328bb2f Moved out the server class from the etherpad and etherpad-dev classes
Change-Id: If08e1eb8bacfbbf88546813b8b6dcd2ae2e7c8ee
Story: 2000172
Spec: http://specs.openstack.org/openstack-infra/infra-specs/specs/server_base_template_refactor.html
2015-05-20 10:00:28 -04:00
K Jonathan Harker 10c825b3e3 Ensure that we have the latest revision
Change-Id: I8f10c0d9b28352c3861bb80b024d441c68378028
Depends-On: Ie560a00e70e428b46ac431975caa74d7d05fcad4
2015-03-09 12:06:13 -07:00
Monty Taylor 9ee8148d5d Allow for etherpad title to be parameterized
The general etherpad_lite module should not contain OpenStack as
a hardcoded title. Parameterize it.

Change-Id: I473720d9566233ab4c8d2081c9835b42ddfcb94e
2014-02-10 15:07:40 -08:00
Clark Boylan c1ffb9f145 Update etherpad and etherpad puppet manifests.
* manifests/site.pp: Pass new mysql DB variables to
openstack::etherpad*.

* modules/etherpad_lite/manifests/apache.pp: Fix broken /etc/ssl/certs
permissions (0700 -> 0755).

* modules/etherpad_lite/manifests/init.pp: Update default nodejs and
etherpad versions. Remove ep_headings plugin install. New plugin define
should be used for this instead. Stop making the etherpad-lite ref to
checkout optional (defaults to develop). Note these changes are probably
not going to be backward compat.

* modules/etherpad_lite/manifests/plugin.pp: Define to install etherpad
lite plugins.

* modules/etherpad_lite/manifests/site.pp: Simplify DB support and
remove support for the dirty DB type.

* modules/etherpad_lite/templates/etherpad-lite_settings.json.erb: Bring
settings erb up to par with latest template.

* modules/etherpad_lite/templates/etherpadlite.vhost.erb: Update rewrite
rules for new etherpad. Instead of allowing nice pad urls rooted at /
redirect these url to /p/padname. Etherpad does not deal well with a
change in root path as /p/ is hardcoded in many places.

* modules/openstack_project/manifests/etherpad.pp
* modules/openstack_project/manifests/etherpad_dev.pp:
Update to use new etherpad module setup. MySQL DBs are now externally
managed, pass in needed connection info.

* modules/mysql_backup/manifests/backup_remote.pp: New define to backup
remote DB servers.

* modules/mysql_backup/templates/my.cnf.erb: Template for a my.cnf to be
used by the cron in backup_remote.pp. Allows for easy connectivity from
server using MySQL DB as root.

Change-Id: I1250297674b91e81d59cd28c07c52e09967ca548
2013-10-09 16:53:06 -07:00
Clark Boylan f30ea0aad9 Switch etherpad_lite backups to mysql_backup.
* .../openstack_project/manifests/etherpad.pp:
Use the new mysql_backup module to backup the etherpad DB. Note that
this change is not sufficient to completely clean out the old logrotate
config and cron for the old etherpad DB backups. This should be merged
in a coordinated manner where the other logrotate configs and cron are
removed by hand.

Change-Id: Ide60ce13a454f72865d697ee736beada76850f32
2013-08-14 16:53:49 -07:00
Sean Dague a09c10ea78 add ep_headings option to etherpad install
Make it possible to optionally install ep_headings on an etherpad
environment. This makes it easy to enable this on some environments,
but not all. Default to 'false', but set 'true' for etherpad_dev.

With summit coming up, it would be nice to have ep_headings in the
etherpads, makes them a lot easier to read.

fix puppet lint issue with all the equals signs not lining up.

Change-Id: I8cfa12480aed0b351012161c2cdbc406c0f52e7a
Reviewed-on: https://review.openstack.org/26380
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-04-08 19:00:46 +00:00
Matthew Wagoner f31a426c65 Cleanup openstack_project manifest lint errors.
Now with extra unwrap!

Change-Id: I7c622ffa77821f33f911793fc6b6cdaaba37904a
Reviewed-on: https://review.openstack.org/15052
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2012-11-21 17:48:11 +00:00
Clark Boylan 3cbe0a8409 Add etherpad-dev node and host class.
We now host etherpad.openstack.org. To properly test upgrades and things
add a proper etherpad-dev host to puppet. Currently the configuration is
set to mimic that which is on etherpad.o.o. Once the -dev host is up and
running it will be used to test upgrades to more modern etherpad lite
and node.js version.

Also at some point we will probably want to use the puppetlabs-mysql
module to manage the mysql instances for etherpad. This dev host makes
that easier.

Change-Id: I63500026a1a38d7c4dd5b00cc869586eb2483497
Reviewed-on: https://review.openstack.org/14861
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-11-02 06:59:11 +00:00