Commit Graph

10 Commits

Author SHA1 Message Date
Clark Boylan d82984ddf2 Retire this project
We've shutdown the logstash service and don't need to manage it with
puppet any more.

Depends-On: https://review.opendev.org/c/openstack/project-config/+/839235
Change-Id: I2b5d3ac705d246f705b4ef91f12a4895e6854fc1
2022-04-25 09:50:21 -07:00
Colleen Murphy b7032eb94b Depend on helper gem for spec_helper_acceptance
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: I20bf542923065f7790993e29938c71bfc189e447
2017-08-18 10:41:43 +02:00
Colleen Murphy 38c66fc220 Remove unnecessary beaker tests
We do not need to check every package and file with beaker. It is safe
to assume that if puppet ran successfully then it also was able to find
and install every package and was able to apply every config file.

We still keep the service checks because it is possible for puppet to
declare a service to be running successfully only for it to die later.

Change-Id: I313fe7907b165e4c064cc37cf0c75051aabf103e
2017-06-14 14:38:27 +02:00
Colleen Murphy 399a2ca633 Parameterize JRE package
Add a params class so that puppet can distinguish between JRE packages
on different Ubuntu releases.

Change-Id: Ia1d22379d915d347c549c8cb8785920d97470f06
2017-06-14 14:38:27 +02:00
Colleen Murphy f3e089077f Update beaker setup for xenial
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.

Change-Id: I2a590ac0d8eecfcd964cd7ffd1a6bdb540815cb9
2017-06-14 14:38:27 +02:00
Clark Boylan 049a6e2b87 Properly support logstash conf.d
Add in proper support for conf.d configs. Create input at 00-input,
output at 99-output, and filters at user specifiable levels in between
using a new defined type for filters.

Co-Authored-By: Jonathan Harker <code@gentlydownthe.net>
Change-Id: Icbca7a6ba0c5a94a273ef158f707311b588483fd
2016-04-29 14:15:29 -07:00
Jonathan Harker b91deb2b0c Fix beaker tests
Now that we install logstash 2.0, and its package manages service files
and user creation, update our beaker tests to reflect these changes.

Also, the logstash deb depends on the logrotate package, so make sure that's
installed.

Depends-On: Id50f98459b677460c28772c406c86482dcd0e9e4
Change-Id: I4c062c82d8d0aae5dd27036021a9464d788244d1
2016-04-29 12:41:02 -07:00
Danilo Ramalho be01b8866c Add acceptance tests for puppet-logstash.
Add acceptance tests for puppet-logstash module so that once the module
is applied we check if files were created, packages were installed and
users configured.

Co-Authored-By: Bruno Tavares <btavare@thoughtworks.com>
Change-Id: I0332e9caf732ab8874cd444a9faa42143d40e335
2015-09-24 19:27:25 -03:00
Spencer Krum c5013c79c5 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: I5f7667a2bede9ed5eb3979103891587d3df1ae12
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:39:32 -07:00
Spencer Krum ea531ba7f8 Boilerplate beaker-rspec files
Change-Id: I12789c34c18d3a4c7ff7ee76fca43f8dad7ca1b5
2015-07-28 02:04:56 -07:00