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: I1494a2dd294c944f80f6cbe67cd96d7d39d70af7
We're about to land some changes to lodgeit and it seems like we
might want to be careful about rolling them out.
Change-Id: I6e136099ba1f321ad008b14042574211b7d5e56d
The default is 30 days but that is filling up our local disk and the
expectation is to have remote backups anyway. Reduce our retention to 10
days to free up disk.
Change-Id: Ie7ed6464f1ff50bf5010db5a53b29048d97f1fbe
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: I1c3e78cd318f8248c92056de4cfc9581d2cd3bb3
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: Iaa342148a18948af00f2c661777797cc53da0868
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: Iaf0aa710b252fc61913a95ead55762eee6b31e6e
It is good enough to assume that if puppet ran successfully then it also
was able to sucessfully find and install packages and apply config
files. For the sake of maintainability, this patch removes beaker tests
for individual files and packages. It also removes a check for a cron
that was already deleted from the manifest.
Change-Id: Ia8b29684213bc8c96d23fb9dd53baf8e65c85362
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.
Change-Id: I93723857496ed913954dcbc19869d96dcf542114
Add a systemd unit file for the paste service instead of relying on
upstart.
Change-Id: I9f43ca88fba5fd41c9a8aaf2e14ffa3f6b307619
Depends-On: If25da754ec107b8dba2d9343f16b54b99cc88e01
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: I8063448c4b30dc97acbf1cce047bc5dfb6b69664
Add acceptance tests for puppet-lodgeit module so that once the module
is applied we check if files were created, packages were installed,
backup were configured and services were started.
Co-Authored-By: Danilo Ramalho <dramalho@thoughtworks.com>
Change-Id: I8dfce2cd0feb0d2ea5746383dde18e23d5d691ff
When using local mysql, this class is useful to automate
database creation. Also add the ability to configure database
name, so it can match the name created on mysql class.
Change-Id: I9c97b4a6355816b931e93d053f4748ef88f0a823
Exclude "/robots.txt" from Apache's reverse proxying so that it
can be served to crawlers.
Change-Id: Ibd3a592e7906169d40619ae5c8dc02afe3589a81
Depends-On: I55a86d3c703a667daf55cb75cf559eb23a556219
The default argument for the MySQL host has a typo and should instead
be 'localhost', not 'locahost'.
Change-Id: I90408ea6cabb6c66f6a663d1c7f3d1944452191a
Use same target directory for zuul-cloner and
the regular git command.
Change-Id: Iae324450e815b4997f811f0eb68f864d53cb6a50
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. Also fix lint
errors caught by the puppet-lint-absolute_classname-check and
puppet-lint-empty_string-check gem as well as arrow alignment errors
not caught before.
The has_variable? function in the layout.html.erb template will return
true whether $image is set to empty string or undef, so we change the
template to look for nil so that the new default of undef will work
correctly.
Change-Id: I6738cfef08e0cf2faeabed469b9eff5e3c0bbb5a
puppet-httpd is the openstack-infra version of puppetlabs-apache
(0.0.4) release.
This patchset will remove the puppetlabs-apache namespace from -infra
allowing for possible future patchsets to use newer puppetlabs-apache
modules.
Change-Id: Iff6874b4c9f41c974b03accfbbf7eef6d047fa9b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.
Change-Id: I6feb9717df54f3b0295b48e2a8744d694540fefc
The content of this project is Apache 2 licensed, but we should
include a standard LICENSE file just to be clear about that.
Change-Id: Iee6320b9d7e35fbe8d3b0a9794f3e485c18ef2c8
Now that this puppet module has been split out from system-config, there
are some files we need to add to the module.
Change-Id: I13bd753928a76c5e6f2bfe378fa4e2118093450d
The name of the apache package and service are different on different
operating systems. Fortunately, the apache module populates a variable
with the correct name for us. This is also true of the apache ssl
package.
Change-Id: I7d93e56281f828cba9262c135b0beb43dce9748a
DEPRECATION NOTICE: Files found in modules without specifying
'modules' in file path will be deprecated in the next major release.
Change-Id: I5cc7bce4645af9ae3672aaaee721c053929308b4
We have a cgit server now, which means we should replace
all references to github with references to git.openstack.org.
Change-Id: I68ad1ce514fb4326c7d9940b5a84999af5b58562
Add a service dependency and subscribe lodgeit to drizzle refresh
events.
Change-Id: I4ed1d5255e8e46854133f00262904291ff5f1c41
Reviewed-on: https://review.openstack.org/34893
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Elizabeth Krumbach Joseph <lyz@princessleia.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: I9bb04bfd3c228eff636316dc3b79098ca801cbaa
Reviewed-on: https://review.openstack.org/29012
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I409bd50ae374e0288531f07cfeea34856c5f8067
Reviewed-on: https://review.openstack.org/17319
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: James E. Blair <corvus@inaugust.com>
Because puppet sucks at installing packages, wrap the installation of
everything that jeepyb needs in both jeepyb and in other places with
if blocks. *facepalm*
Change-Id: I69c73dabc3ea5d68bd057141b1ad758cdd68eafc
Reviewed-on: https://review.openstack.org/17130
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
* modules/lodgeit/templates/layout.html.erb: Adjusted to match the
changes made in https://review.openstack.org/16808 for the show_all
function/rule.
Change-Id: I2b5b600e1c35e4d5a179c47e1722a9b3792bbbcc
Reviewed-on: https://review.openstack.org/16930
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
* Rakefile: Override line length warnings from puppet-lint with its
disable_80chars option.
* modules/gerrit/manifests/cron.pp, modules/gerrit/manifests/init.pp,
modules/gerrit/manifests/remotes.pp, modules/lodgeit/manifests/site.pp,
modules/openstack_project/manifests/cacti.pp: Undo line continuations on
long strings. These were causing particular problems when attempting to
apply crontab entries.
Change-Id: I417788d7953ee0d2b717349564ee9cc78c0c49c2
Reviewed-on: https://review.openstack.org/15822
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: Iec09a46b4c3a540154d962989dcf02b1a4605b52
Reviewed-on: https://review.openstack.org/14825
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: Ia0f3acd50aab07cc83d13cd12c8f7fc67f1c697d
Reviewed-on: https://review.openstack.org/10832
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins