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
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
Add a params class so that puppet can distinguish between JRE packages
on different Ubuntu releases.
Change-Id: Ia1d22379d915d347c549c8cb8785920d97470f06
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.
Change-Id: I2a590ac0d8eecfcd964cd7ffd1a6bdb540815cb9
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
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
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
Use same target directory for zuul-cloner and
the regular git command.
Change-Id: I5f7667a2bede9ed5eb3979103891587d3df1ae12
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>