Commit Graph

21 Commits

Author SHA1 Message Date
Clark Boylan 4e287e1a3c Retire this repo
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
2022-02-17 11:53:50 -08:00
Clark Boylan 61c3fded0a Create /srv/mailman
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
2020-04-29 11:03:14 -07:00
Colleen Murphy 019af0637a Use httpd::vhost $content parameter
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
2018-05-28 15:39:49 -07:00
James E. Blair 74aabb8bbb Remove openstack HTML templates
These are no longer necessary, they are in the openstack
system-config repo now.

Change-Id: I7d6c1cee86f9849aa3291f5e73fa0927c39f12ac
2018-01-23 16:07:50 -08:00
James E. Blair 3f8567fc9c Create per-site template directories
Install user-specified languages there.  English by default.

This is not used yet; it will be enabled in a later change.

Change-Id: I1d3b0f1a96ade33b0d72accf3a7c8449e79b6c5f
2018-01-22 11:34:48 -08:00
Clark Boylan 871e86687f Alias $name in mailman site for vhost templating
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
2017-12-22 15:07:03 -08:00
James E. Blair 0778735e66 Add multi-site support
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
2017-12-13 13:49:57 -08:00
Jeremy Stanley 2704eca15a Enable modules before starting Apache
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
2017-12-01 20:09:33 +00:00
Jenkins dc2b6ac36f Merge "Add missing cgid module" 2016-04-12 19:05:52 +00:00
Andrey Nikitin 66fa0e6ff6 Placement of the class parameter is refactored
Placement of the parameter is changed
to follow Puppet Style Guide recommendation [0].

[0]. https://docs.puppetlabs.com/guides/style_guide.html

Change-Id: Id0b1c3c0472c3455075e4e60535e7588a39d960a
2016-03-21 13:15:25 +03:00
Paul Belanger 9c2524b1d8 Add missing cgid module
This was exposed when installing on trusty.

Change-Id: Ic0cc4de17f0490c54293bbe37190654976ff7b57
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-02-25 15:37:28 -05:00
Paul Belanger bde4c75a0f Migrate to puppet-httpd module
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>
2015-07-16 15:42:08 -04:00
K Jonathan Harker 5903d53bfd Use the correct name for apache
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
2014-06-04 17:33:50 -07:00
Matthew Wagoner 650b43b654 Cleanup mailman manifest init.pp lint errors.
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
2012-10-29 18:35:40 +00:00
Monty Taylor 3850c54837 Align all web server usage on apache module.
Change-Id: Idd712a8ee5ec81c6b88b7d3e2270dce4da254927
Reviewed-on: https://review.openstack.org/10838
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-12 17:03:46 +00:00
James E. Blair 014b40f2f2 Add redirect for lists.o.o.
And add rewrite module.

Change-Id: I87e922c7454dd281baced2293973e7c1ca2faaef
2012-07-05 12:14:36 -07:00
James E. Blair e126257f7e Mailman service has no status command.
Change-Id: Id86e0bde4ce658792095925fbc9b0daa29032e20
2012-07-05 11:51:27 -07:00
James E. Blair 9755512721 Fix mailman typo.
Change-Id: I3ba54e7813aa2d66827ed9c7d397bcc6202ca739
2012-06-19 13:00:58 -07:00
James E. Blair 101d973c69 Change mailman template destination.
Change-Id: Ieb4ff0c92e6dd4fc31940cb314fc98b825c01600
2012-06-19 10:44:07 -07:00
James E. Blair a53accc9b4 Install mailman apache config.
Also includes default index.html file which needs to be customized.

Change-Id: Idd2d03a95b8bfaba42d94701dc5a5ced204a1c65
2012-06-06 12:08:25 -07:00
James E. Blair 7da1e3453a Add initial mailman config.
Change-Id: I82cda9eb456c1ce3690eab8f558420c8a696ee25
2012-05-10 19:19:53 +00:00