Commit Graph

11 Commits

Author SHA1 Message Date
Clark Boylan e7e4f1a6d0 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: I67645a8378580ad79a58704e5eab86b6b8794767
2022-02-17 11:44:34 -08:00
Monty Taylor 0edcc83e70 Update git url to hound-search
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
2020-04-21 17:08:55 -05:00
Ian Wienand 46bfc54912 Fix httpd ordering, add rspec test
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
2017-12-15 14:56:08 +11:00
Ian Wienand ef1008424a Add a reindex lock
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
2017-12-13 12:44:01 +11:00
K Jonathan Harker 5b56c08385 Make the git source uri configurable
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
2016-07-28 17:27:40 -07:00
Jenkins 69ed382677 Merge "Add ServerAlias support to the vhost config" 2016-07-22 09:15:53 +00:00
Ricardo Carrillo Cruz ab87c7e377 Add ulimit max-open-files param to puppet-hound
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
2016-07-21 13:41:03 -07:00
K Jonathan Harker dcc876c7a9 Add ServerAlias support to the vhost config
Change-Id: I04b232120531a91a3a402d7507c04979e24f0856
2016-07-14 16:46:53 +00:00
Andrey Nikitin 1f439e9ac8 Order of the class 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: Iba60da93af8c4db6c29246c2aaae9a4231097a4d
2016-03-21 11:59:46 +03:00
Spencer Krum a520d6115d Logrotate the hound log
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
2016-01-06 14:22:06 -08:00
Emma Barber 6ce0881b6a Configure and run apache on top of hound
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
2015-09-02 13:51:42 -07:00