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: I6a1d385c8dc3a457af2ef3b8a376470fecc754d4
We recently broke our /etc/hosts content on our servers then restored it
to a sane default for each server. This would have removed any special
entries servers may have had. It appears that refstack was relying on
such special entries to make the named virtualhost entries work. With
the new /etc/hosts content our vhosts weren't serving content.
Fix this by removing the named vhost entries and instead rely on
ServerName to specify where requests go.
Change-Id: I8b8242b1b6d9b2bb072ace5b82a65899fe383056
Dynamic scoping for variables in ERB templates was removed in puppet
4[1] which means that the variables defined in the
refstack::apache::http* classes cannot be found when it is referenced in
the httpd::vhost defined type and will be evaluated as nil when
puppet runs. Use scope.lookupvar instead to be explicit about the
variable's source.
[1] https://puppet.com/docs/puppet/4.10/lang_updating_manifests.html#dynamic-scoping-in-erb
Change-Id: Ie4ebcce043c8b1ed28d42f58fe15502cac956b48
The current template is a bit dated and is missing some needed
options. This patch adds the needed config options. The template
was also cleaned up to only show options that are set/changed from
the default.
Change-Id: Ie96052b5d2cf128164aa2243e5430b618d2ae45e
Templates/manifests for https hosting already exist, but we currently force
http hosting. This patch adds a 'protocol' param to allow the capability
to host with https. This patch also changes the hostname to default to
the fully qualified domain name and changes certs/keys to snakeoil.
Change-Id: Ic3cd47f4166c5219030254e8ae557b654f0756eb
The stankevich/puppet-python module was causing issues,
so this patch removed the dependency on it. Now pip is used
to install directly onto the system instead of in a virtualenv.
Change-Id: I8f9922ab05429f15cc718561ed3b324ffe8ea746
Fix capitalization of RefStack project name in comments, remove unused
dependencies, and correct some file names.
Change-Id: Ie203c3dab354b67f2693993beb5038a72130aec8