Commit Graph

13 Commits

Author SHA1 Message Date
Clark Boylan c629d4779a Define params::ssl_path for vhost::proxy
The vhost::proxy vhost template file uses the ssl_path var.
Unfortuantely this isn't defined in params so we get errors like:

  Unknown variable: 'httpd::params::ssl_path'. at /etc/puppetlabs/code/modules/httpd/manifests/vhost/proxy.pp:37:15

Fix that by defining a value. Note this value should be correct for
debuntu, but is probably wrong for RHEL/CentOS.

Change-Id: Idbb1ac60a17d5506c4dd0d19eb10c1a45741c3b5
2020-03-05 09:14:29 -08:00
Colleen Murphy 17543eceaf Parameterize the php mod package name
Change-Id: If61473b394605fa2599f53716792dd5568ad24c5
2017-06-11 19:53:48 +02:00
Andrey Nikitin 080f4bab6a Order of the classes parameters is refactored
Order and intendation of those parameters are changed
to follow Puppet Style Guide recommendation [0].
Moreover, it will allow to an user to find much faster
a variable in a list of variables.

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

Change-Id: If2443cbc57671784cfcb31bbe0ada0c09f78c996
2016-03-21 12:44:49 +03:00
Bruno Tavares 84c5d2bf6a Fix httpd::dev.
While writing acceptance tests for puppet-httpd we noticed that the
manifest of httpd::dev was not working on Ubuntu Trusty.

That is because httpd::dev was trying to install multiple package using
the wrong syntax. Also, the one of the modules for Ubuntu was wrong and
we updated to keep applying.

Co-Authored-By: Bruno Tavares <btavare@thoughtworks.com>
Co-Authored-By: Danilo Ramalho <dramalho@thoughtworks.com>

Change-Id: Ibe1e107417b4670902f74b8c2fedc0d9d927ce9b
2015-09-28 14:50:03 -03:00
Colleen Murphy 17430b7507 Add Gemfile and puppet 4 checks
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. Also fix errors
caught by the puppet-lint-unquoted_string-check and
puppet-lint-absolute_classname-check gems.

Change-Id: I9d74d25d2f2c95ec52a6db3bf070903240e1b933
2015-07-29 23:18:35 -07:00
Spencer Krum dab0f45bea Rename apache2 to httpd globally
This renames the classes and defined types from apache to httpd.
With the 'httpd' module available, we can migrate usage of 'apache'
to 'httpd.' Eventually this will free the 'apache' namespace.

A native ruby type and provider is contained in this class. It is
not namespaced to the class name so it has been renamed from a2mod
to httpd_mod.

Change-Id: I056eb28a13e7ccc95f1496019bedc332c17dd458
2015-02-05 05:49:30 -08:00
Eric Shamow 42c636341f Changes to match style guide and pass puppet-lint without error
No substantive behavior changes - only spacing, line alignment,
quotation, etc.
2012-04-20 21:07:54 -07:00
Walter Heck 073964152d style guide fixes: 'true' <> true, $operatingsystem needs to be $::operatingsystem, etc. 2012-04-16 15:20:00 +08:00
William Van Hevelingen 976cb69648 (#13072) Move mod python and wsgi package names to params
Previously apache::mod::python and apache::mod::wsgi used
a case statement to determine which package to install. This
commit moves the package names to the params class and fixes
the syntax errors introduced in commit 2b79e8b when the
selectors were changed to include Scientific Linux.
2012-03-12 19:58:34 -07:00
David Alden 2b79e8bdd1 (#11070) Add support for Scientific Linux
This patch adds Scientific Linux to the various case statements so it is
supported. This also fixed the various templates so that the log location
is variable depending on weither the OS is Redhat based or Debian based.
2011-12-01 00:56:45 +00:00
Gary Larizza 6cf7312ff3 Defaults for Parameters
Set sane default parameters for the apache::vhost subclass
and enter them into apache::params.
2011-07-15 15:25:31 -07:00
Zach 8a56ee91f0 add pthon support to apache 2010-11-21 16:34:48 -05:00
James Turnbull 35721a3f35 Initial commit 2010-09-01 18:01:04 -04:00