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
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I357b9d281c4df871e52780445eb889160eee692b
The logic in the Gemfile was relying on Zuulv2 variables to find out
whether the spec helper gem was already available on disk, and since
Zuulv3 has changed things it was failing to find it and downloading the
master version instead. This patch ensures the Gemfile looks for the gem
in the right place when running in CI.
Change-Id: I6a7d2bf7fdb2020f9d4d8d3a073688757de35ffb
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
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.
Change-Id: Ib4e7bf5564fc1968a88a500be007b131fc1154ae
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.
Change-Id: Ieac2e6443316baae505ca648ef777b9486ff38c6
Bindep is a tool for checking the presence of binary packages needed
to use an application / library. It started life as a way to make it
easier to set up a development environment for OpenStack projects.
Change-Id: I838002bdd2c151a71fe03ab242ccb654010fecf2
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
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
Add beaker-rspec to the gemfile and add spec_helper_acceptance.rb and
nodesets to initialize beaker-rspec testing. This will get the
beaker-rspec jobs to pass but does not actually add any tests.
Story: 2000250
Change-Id: Ib615750130a76fafa0710f16d1fd3e37a5bca545
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
Calling just vhost_name in the Apache template was populating the
file with a * for the name. Add the full scope so it finds what it
needs.
Change-Id: Ibd78236e31e729261ac96c6964f3c2d5796a9566
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
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins.
Change-Id: Ib74b71062b95fac7ea02b891741f755ba98dc61b