This change adds the rspec-puppet-facts gem to the spec helper so that
we can centralize the management of the base operating systems that we
support. rspec-puppet-facts allows us to simplify our unit tests and
provides a more complete list of Operating Systems and their associated
facts for the unit tests. With this change we can now loop over and
test CentOS, Debian, Fedora, RedHat, and Ubuntu by simply providing a
list of supported os to rspec-puppet-facts.
Additionally this change includes a central object for managing our
supported os list for rspec-puppet-facts and providing our default facts
like os_service_default. This central object should replace the usage of
@default_facts within the unit tests for each module.
Change-Id: I977b9f2fd1558d45128d8a0bd161faba982dda4e
This patch update the Setup section:
-add Installing aodh
-remove stackforge reference in Beginning with aodh
Change-Id: Icf53bc02456fc775a3cb6ef6005bf60eb12fa82c
This change adds the ability to use the python-pymysql library as the
backend for MySQL connections.
Change-Id: I7604cca9e2d7bf0b93c820adec5f937f72b64fa8
This change switches the aodh module to use the os_service_default
fact for configuration options that default to '<SERVICE DEFAULT>'.
Related-bug: #1515273
Change-Id: I05488c8bdcb5f54976a17aa25bf8a3b9d46627bb
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Qpid messaging driver is removed from Oslo.messaging [1]
Therefore, we cannot support it anymore.
[1] I4a9cba314c4a2f24307504fa7b5427424268b114
Change-Id: I9c4c04cbe4451380f67be067b5831d80fad48524
Install ceilometerclient (aodhclient does not exist yet):
* manifest
* unit tests
* acceptance tests
* example manifest
Change-Id: Ib644bd0896af71b5fd0379236c7650588fd407b2
* Manifest for evaluator and auth
* acceptance
* example
* unit tests
* Fix dbsync command and run it to make evaluator work
Change-Id: I3e9f43ebeceaf62abed9412959c067c4bd4409da
This patch introduce the same design than mysql for postgresql
by requiring dedicated lib::python class instead of declaring
a new resource package within aodh module.
This patch also add unit tests for aodh::db class.
Change-Id: I3f9ed49b44a9a7c89be06f40a5823cc24a66066e
Due to a wrong copy paste, the default port was 8777 which is already
used by Ceilemeter API service. Let's use the default Aodh: 8042.
Change-Id: I5b51f7337f4381035849d2f2032e1063b428540d
* Manifests to deploy Aodh API service
* WSGI support
* unit tests
* acceptance tests
* example manifest
Change-Id: I648310ae05bae37b1790514d0e7fe0bbc5a7bdde
https://review.openstack.org/#/c/228744/ has been merged, we need to
drop the 'tenant' parameter to Keystone_user resource.
Change-Id: I5299c02874d7b2a984718ced087284e9cb325112
Add a basic manifest so we can iterate by adding the services.
Next patches will follow the same pattern:
* manifests
* rspec tests
* documentation
* beaker tests
Change-Id: Ice2dccf8104f66e3ce0084f656aac610dcda1e3c
In OpenStack Infra, we would like to run Puppet unit tests that
sometimes depends on other Puppet OpenStack modules.
Example: a patch in puppet-openstacklib that needs to be tested in puppet-nova.
This patch modifies the Rakefile to:
* clean spec_prep and spec_clean Rake tasks
* use openstack/puppet-openstack-integration/install_modules_unit.sh script
to clone modules.
* do not use .fixtures.yaml file to clone modules and rely on
zuul-cloner or git.
* Add openstack/ in gitignore so we never commit the
puppet-openstack-integration repository (can happen when spec_clean
did not run but you want to submit the patch anyway)
* Allow to run a custom Puppetfile if PUPPETFILE env is exported. It
will allow people to test the module with the dependencies they like,
feature we had with .fixtures.yaml.
Also add 'r10k' to Gemfile.
That way, we will be able to use zuul dependencies and run tests accross
modules like we do with functional testing.
Change-Id: I22ce72a855bc9a2fce396a1d3f109c1f97615d4c