The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.
Change-Id: Iead8de30a8606e69787056be11a2e89bd63639ea
The multihost setup mailman setup assumes /srv/mailman is present which
then causes failures in testing because we don't explicitly create this
path. Fix that by managing the /srv/mailman path in puppet too.
Change-Id: Ia378b098b672e471897c8397f2562fc21a327f38
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I3011bb0d15304994dd3c732fa948ff63e2a8ccd7
This prevents mailman from altering the CC header, at the expense
of causing some users to receive duplicate messages.
Hopefully they have MTA or MUAs which can suppress duplicates based
on Message-ID.
Change-Id: I8dcb071d977d45f1ed8e0793c35d0f6f312a7ba8
The logic in the Gemfile was relying on Zuulv2 variables to find out
whether the spec helper gem was already available on disk, and since
Zuulv3 has changed things it was failing to find it and downloading the
master version instead. This patch ensures the Gemfile looks for the gem
in the right place when running in CI.
Change-Id: I5dffef20f15f664d488f7ff9882d0be713b6755a
Use the new $content parameter of httpd::vhost instead of $template.
This way, the template gets rendered within the scope where it assumes
its variables are, and doesn't need to use the scope object which
doesn't work within a defined type. This will ensure the template keeps
working on puppet 4.
Depends-On: https://review.openstack.org/570824
Change-Id: Iaa31189ace6140327af034fd8209211077d7c552
Add functional tests to verify that the mailman functionality, both
single host and multihost, works correctly and generates the expected
virtualhost config.
Change-Id: Ie3f23cf918f3575e0403626d94a8a0f1f68ae831
This variable is required for the multihost hack to work, but the
dpkg scripts don't know about it. Just exit 0 if it's not set
(but still provide a message for admins) so that the dpkg scripts
don't bomb.
Change-Id: Ib5d806794d62c089f4267f7b5e4cee6e6702c5ff
Start using the new template directory in multisite installations.
Depends-On: https://review.openstack.org/535851
Change-Id: I471509355576f2a8ed1bea04782388281958a4cc
Install user-specified languages there. English by default.
This is not used yet; it will be enabled in a later change.
Change-Id: I1d3b0f1a96ade33b0d72accf3a7c8449e79b6c5f
The apache vhost templating is evaluated within the context of an inner
puppet defined resource which overrides the $name value with its own
$name. This means if we want to pass the $name of the outer mailman site
defined resources we need to give it another non overridden name.
In this case we alias $mailman_site_name to $name and use that.
Change-Id: I22e7285161deb7e7945559e0b7a421d244ab1b7a
This adds optional support for creating multiple sites which
appear as independent mailman installations, though they all
rely on the underlying operating-system provided install.
Story: 2001382
Task: 6091
Depends-On: Ic92726dc341af5802ad803d239bd547ef5068043
Change-Id: I3a31465882ec95d822d590045216ec751c7cd22e
If Puppet decides to order resources in such a way that Apache is
started before the modules the vhost is configured to utilize are
enabled, the service will fail complaining of a syntax error/missing
module. Set Apache's modules to instead be enabled before Apache is
started to avoid this failure scenario.
Change-Id: Ida3e963d9044bbb5e0ec4c9e465a104e7d97fa2b
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.
Change-Id: I68cdeb2cb5973f65d375ee4d417cbb1c544eddbf
Replace link to non-existing Diablo page with link to current Getting
Started Page.
Sync footer links with docs.o.o and www.o.o pages.
for changed pages: Use https where possible.
Change-Id: I6de65c872c0384a0d7325270758fc36ff71ca201
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.
Change-Id: If6496f0f3b3c5a220937dc4a2aef266a27805b35
Use same target directory for zuul-cloner and
the regular git command.
Change-Id: I6f0dbd6c23f3c758dc797f2322601a0fbb7b197c
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins.
Change-Id: I8eca4f96adeb25e64c60be4c9813502010254a24
puppet-httpd is the openstack-infra version of puppetlabs-apache
(0.0.4) release.
This patchset will remove the puppetlabs-apache namespace from -infra
allowing for possible future patchsets to use newer puppetlabs-apache
modules.
Change-Id: I9ea679048ca764389dbe01581ee35aadcbe6014b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.
Change-Id: Id3b6e7b33f912623675eb571efdad0f7cc523cef
The maillist type in puppet has pluggable providers. The default mailman
one assumes that clearly you want a ton of entries in /etc/aliases.
Since we do not want a ton of entries in /etc/aliases, subclass that
provider and override the bits that make us sad.
Change-Id: I86bcbe2665dfa18d766a03a60263a37088a53b5c
The content of this project is Apache 2 licensed, but we should
include a standard LICENSE file just to be clear about that.
Change-Id: Iee6320b9d7e35fbe8d3b0a9794f3e485c18ef2c8
The name of the apache package and service are different on different
operating systems. Fortunately, the apache module populates a variable
with the correct name for us. This is also true of the apache ssl
package.
Change-Id: I7d93e56281f828cba9262c135b0beb43dce9748a
Change-Id: I387b377d65fbbe49581fa85a371d214ad60e4552
Reviewed-on: https://review.openstack.org/14908
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins