Commit Graph

12 Commits

Author SHA1 Message Date
Clark Boylan 29c864240c 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: I6a1d385c8dc3a457af2ef3b8a376470fecc754d4
2022-02-17 12:53:01 -08:00
Clark Boylan 7d2bf8ef50 Rely on servername not virtualhost name resolution
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
2019-05-13 14:40:26 -07:00
Colleen Murphy 7580829b12 Fix scope of vhost template variables
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
2018-04-27 20:49:12 +02:00
Megan Guiney e22ef04d4f Added option to set enable_anonymous_upload
Change-Id: If64f03f22cde99fe5b31b69bd8c73caff029da17
2018-02-16 18:51:32 +00:00
Paul Van Eck 4f06b81398 Correct API url in refstack.conf template
Since the api is hosted on /api, that needs to be included
in the URL.

Change-Id: I023fa8f80a90c45616c243df375b9fe27682c3b5
2015-09-22 17:24:47 -07:00
Paul Van Eck 53d78113d2 Update refstack.conf template
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
2015-09-04 04:46:25 +00:00
Paul Van Eck 579d39bbda Add param to specify app protocol
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
2015-09-03 21:37:30 -07:00
Paul Van Eck e1482bf068 Remove virtualenv and install RefStack on system
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
2015-08-24 17:04:10 -07:00
Paul Van Eck 8f2a27de12 Perform some module cleanup
Fix capitalization of RefStack project name in comments, remove unused
dependencies, and correct some file names.

Change-Id: Ie203c3dab354b67f2693993beb5038a72130aec8
2015-08-24 16:58:49 -07:00
Michael Krotscheck 0e50af1532 Added WebClient installer. 2015-04-29 12:27:08 -07:00
Michael Krotscheck 7cd53e46c6 Added HTTP Modules. 2015-04-22 14:34:34 -07:00
Michael Krotscheck 9d2c06d418 Create refstack config file. 2015-04-20 18:11:19 -07:00