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: I67645a8378580ad79a58704e5eab86b6b8794767
The etsy folks have moved hound to hound-search.
Also fix a puppet-lint error. Apparently we're now
NOT supposed to do the leading ::.
Change-Id: I27704d5f20e6cab6881f12a1a7d5602499120499
The ordering is wrong here, as the docroot tries to depend on the 503
file that inside the docroot. I missed this because I was on a live
system where the file existed. Move to a more standard "www_base"
like in other modules.
Add a deployment test to find things like this.
Change-Id: I9b048836fa9942f021f81f7a744bcc9af96a10be
This modifies the apache configuration to look for a reindexing lock
file and return a 503 page if it exists. This is intended to be
managed by a cron job during reindexing procedures.
Change-Id: I9d28201bca75b624e07cbba14c870151094fc7ae
In some cases it may be useful to set the git source uri to use a
different protocol (such as when using an http proxy) or another host
(such as a local mirror). Allow passing a parameter to set the source
uri to clone from.
Change-Id: Id3696bbb4c70610ed8d3402ae207334bb7b3f234
The upstream hound server is showing issues on the log about
hitting max opened files, currently on OS default of 1024
files.
This change allows setting the ulimit for open max files on the
init script, defaulting to 2048.
Change-Id: I283105dc0229e1e3f9ab56f0c8c3368581370d10
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: Iba60da93af8c4db6c29246c2aaae9a4231097a4d
Since the hound log is now growing instead of being continually
overwritten, it needs to be rotated.
This log isn't very large, but this is good hygiene.
Change-Id: I5c04e75bf867f9001dfc7aaeb62e8a4d023c25bd
Creates a service user and runs hound and apache. The config.json can
optionally be unmanaged but is otherwise taken from a file.
Co-Authored-By: Monty Taylor <mordred@inaugust.com>
Change-Id: I4042594421989ab60d1134fbfcfc8b0c73839faa