There are some different changes in standalone.xml between
Zanata version 3 and 4. A version flag is implemented to
rollout the right version from template dir. For backwards
compatibility Zanata version 3 and 4 are supported yet.
Wildfly 9 stuff is removed because we have still Wildfly 10
running. That simplifies the manifest. Switch download URLs
to github, so there is also a standard to fetch files.
Change-Id: I5ada09cad7a19296802b22c2c3488ca547f2f14e
hint: http://docs.zanata.org/en/release/release-notes/#400
This installs newer versions of zanata by unpacking published zip files
over the top of the wildfly install instead of manually injecting
specific war files.
Do this because the zip file includes the other dependencies that we
need like hibernate and the mysql connector.
Change-Id: I7632bbb30c8e3780836df65a47d35ca42b0b3f3c
A lot of this is equivalent xml with updated whitespace to reduce the
diff. This made it easier to see the actual differences between
upstream's config and ours.
With the whitespace changes out of the way I was able to update a few
things that were different between the two. The use db connection cache
manager value went from false to true, there was some added websocket
config, a missing weld section, and added back in our config for
specific openid source.
Change-Id: I11dd81a97662e8f24fdc364b353c7375407cfa30
Wildfly includes these libs so we don't need to install them separately.
Check what version of wildfly is being installed and only add the libs
if necessary.
Prepare to have a different config file for 10
Change-Id: Idc09ef9d6d7200d86daad586719c2d4f6e143f1c
The different versions of ubuntu packaging use different driver names
for the mysql jdbc connector. Ensure we use the correct one on trusty
and on xenial.
Change-Id: I2cb154925bd67decd21fd440c13d3aafc4d8d982
The jboss.bind.address.management variable keeps being
automatically flipped to 0.0.0.0 so it's triggering a
template refresh with every puppet run. Just put that
in the template.
Change-Id: Id7faae2b9937bd1bd016b2cea7329702d0b951e2
Due to using an undefined variable when determining the server id,
the client manifest was writing an incorrectly formatted zanata.ini
file. Furthermore, the intent of the change did not go far enough,
since it would not strip off the URI scheme or port. Due to the
complexities of parsing URIs in regular expressions, use a Puppet
function for the heavy lifting.
Change-Id: I754ee54f805c91f5548b2cf270b23c68eed3959c
Zanata defaults to using a local SMTP server, but you can configure
it to do otherwise. Pass the values to the template for easy setup.
Change-Id: Ia0b1231c9bd1df50082f4e0bcf954aee29d1615a
This change allows us to shift away from the default setup of using Wildfly's
internal undertow webserver to using Apache as a frontend via
mod_proxy_ajp. The built-in https and ajp may be selectively enabled or
disabled.
Change-Id: I7152b43edb5e028fbad9631dd137536f90e33388
The zanata client uses a .ini file to store the server's url and
an API key. Manage this file using puppet so we can easily install
this configuration.
Change-Id: I21c972de4df95b76b0e3361695d74f7d89b1f82c
We want users to sign in using openstackid.org. This requires
changes to the Zanata config to specify an OpenID provider and
to disable the existing internal login so we don't wind up with
multiple login buttons. Make OpenID configuration optional so
others can still use the module without it. Also allow the admin
user list to be configured.
Change-Id: I3688688ef37fea602b107fba17dcc8d6f40f9275
Running of Zanata requires installation of Zanata war file itself, two
modules and a config file.
Set Wildfly to be version 8.1.0, the current one tested and
confirmed working with Zanata.
Co-Authored-By: stephane <stephane@alum.mit.edu>
Change-Id: I1dc8407cf16a7543357691fd6a1d053afda298d5