This change introduces the fuel_lma_collector Puppet module. This new
module contains all the code which was in the lma_collector module and
relies on the way Fuel uses Puppet like the use of Hiera.
Change-Id: Ibfe97e745742b3f9718f873a8d564ed87476f334
Implements: blueprint lma-without-fuel
This is basically an import of the existing test plan that was stored
in a separate document. There are also some updates to cover the
testing of the LMA Alerting Infrastructure plugin.
Change-Id: I97a7aff9c4a48babcf063ce09167745dff6d4dfa
tox >= 2.0 only passes the PATH variable to the test environment but
the Puppet tests expect the HOME variable to be defined.
Change-Id: I584883ba105d2efc173c48f17eece960d0c16a09
This prevents to create .gem/ directories inside each Puppet modules and
really stores all gems in .bundled/ directory.
The plugin building fails when .gem/ directories are present.
Change-Id: I65847de308bd11e71a1710c1ffc41ea766fdbdc1
This change adds syntax checking and lint tests for the Puppet
manifests locates in deployment_scripts/puppet/manifests.
It also fixes a Puppet lint problem in base.pp as well as illegal key
assignments that aren't allowed with Puppet 4.x.
Change-Id: I3a6913773d3c3952e882db5644b8cc2289cee8fa
This change also updates the various .gitignore files to discard the
files and directories created by the fpb script.
Change-Id: Ic909e787eaf5088a3f60098ea7ed2b92ccada8f7
The Puppet tests fail on Jenkins because bundler tries to install the
Ruby gems to the default GEM_HOME which is protected. This change sets
the GEM_HOME variable to a local directory.
Change-Id: Ic28276b3c2aa9224cbae839a040884871b0521a8
This change implements the necessary bits and pieces for testing the
Puppet modules. Right now, it only run lint and syntax checker on the
modules.
The change also fixes a couple of issues with the existing code that
have been highlighted by the tests.
Change-Id: I4fd30baa23c474d75937b4f050b35c914efc4829