8 Commits

Author SHA1 Message Date
Clark Boylan
feedc63c33 Fix the setting of the chain file in drupal vhost
We were testing if the chain file contents var was not equal to empty
string ('') before setting the chain file path in the vhost.
Unfortunately this variable was unset so has a value of nil in the erb
file. This meant that the condition matched even though we didn't want
it to and we got a broken vhost file.

Fix this by explicitly setting this var's value to undef by default in
puppet. This results in a nil value erb side which we can test against
more simply.

Change-Id: I8016b7ab20843a6e35002bed1a79867480ddbd08
2014-11-26 12:20:47 -08:00
Marton Kiss
f64a50b1e8 Enable SSL in groups-dev.openstack.org
Extend the Drupal vhost template with ssl capability, and
groups-dev.openstack.org now accepts the following hiera variables for
ssl setup:
- groups_dev_site_ssl_cert_file_contents: x509 certificate of vhost in pem format
- groups_dev_site_ssl_key_file_contents: rsa key of x509 certificate in pem format
- groups_dev_site_ssl_chain_file_contents: trusted chain of parent certificates (optional)

This patch is required for proper openstackid/oauth2 backref communication.

Change-Id: Ia148d1db743fc80bcb675c9ca2906333ef62eff8
Implements: blueprint groups-oauth2-authentication
2014-11-25 18:32:26 +01:00
Marton Kiss
237fe384e2 Add groups portal openid url
Move the openid provider url into groups_openid_provider configuration
variable for groups portal. We are separating the productive and
staging urls, so productive is pointing to openstackid.org now.

Change-Id: Ifc7d5d41b80c3a080800d1d9d1ef394490d93b14
2014-10-29 09:32:43 +01:00
Marton Kiss
b33a3a436d Upgrade groups portal instances to use manifest based deployment
Both staging and productive groups instances will use the manifest
published at tarballs.openstack.org/groups/drupal-updates catalog.
It helps to separate the staging and prod deployment source
versions, passed in package_branch parameter. Drush dsd tool updated
to v0.9, and puppet sitedeploy and siteupdate resources were also
refactored to support drush-dl package provider parameters.

Change-Id: I8299c063ea774a85554c2406c6cb6ccb007fb182
2014-10-20 15:16:37 +02:00
Marton Kiss
74b0d58d53 Groups portal Google Analytics code
Add optional GA tracking code variable to settings.php template and add
tracking code to groups.openstack.org site.

Change-Id: Iddf223cab9ef672178f4e2984cdacf27a8d0f16f
2014-08-06 11:26:44 +02:00
Marton Kiss
a33ba74399 Groups portal infra code refactor
This patch removes the drush make site building function from
groups-dev instance, and now directly fetch release tarballs from
http://tarballs.openstack.org/groups repository. With an advanced
multi-slot deployment architecture it prevents the typical Drupal
WSOD issues that randomly caused site malfunction when a request
arrived during installation. It also simplifies the
deployment steps using the standard drush aliases and
drush-dsd extension and supports local configuration variables
in local_settings.php file.

Change-Id: I73976a60e080d15b6f513db79fee46bcf468e302
2014-06-11 23:12:12 +02:00
William Van Hevelingen
c2c3864127 Fix @var deprecation warnings in drupal templates
Change-Id: I603d54bc6fb002f634c2da77465ad6569c08ce0a
2014-03-23 10:13:56 -07:00
Marton Kiss
648a8af52f Add groups-dev.openstack.org node
Add a groups-dev node to openstack infra, based on drupal
environment. This node checks out the repository:
https://git.openstack.org/openstack-infra/groups

Build a new deployment from scratch, including drush make
distbuild and drush si auto-installation features.

Change-Id: I71eef1c14724ceb13a896ff768923148dedcc2ef
2013-09-17 11:43:00 +02:00