... instead of using ensure_resource to define a package resource,
because it is not expected that ceilometer packages are managed outside
of puppet-ceilometer.
Change-Id: I541450707b64277b30d55f136d57b8cf4443cfd4
The existing YAML templates for pipeline, event_pipeline and
polling configurations aren't flexible enough to support more
complex setups.
This commit adds support for allowing the whole YAML config to be
defined in Hiera by adding some new class arguments.
Change-Id: If08d876d659871f02f3ccfd9f20ccb3605f98de1
The default value of ack_on_event_error is forced to true
which is unneccesary since the default value in ceilometer.conf
is true. Instead we should default to using the service default.
Change-Id: I8c287331d57cdd39eaa4faf83091f7532b6b6293
This changes all the puppet 3 validate_* functions
to use the validate_legacy function.
The validate_legacy function has been available since
about three years but require Puppet >= 4.4.0 and since
there is Puppet 4.10.12 as latest we should assume people
are running a fairly new Puppet 4 version.
This is the first step to then remove all validate function
calls and use proper types for parameter as described in spec [1].
[1] https://review.openstack.org/#/c/568929/
Change-Id: I640d5ca592774601a252dbafbdc90bc98313055b
The store_events option has been removed since Newton
Depends-On: I5a906684f6371b0548ac08cacc13aa238f780f78
Change-Id: I0a997d0c7076d2133d20b268b47f0c867a15f106
Right now when you try to manage the `pipeline.yaml` or
`event_pipeline.yaml` via Puppet, notification-agent can't start
because it can't read the file because it has by default root:root
permissions. This enforces to have root:ceilometer and mode rw-r-----
to allow the daemon read the pipeline files
Change-Id: Ia97821135a2d51377514f2bcf389126254209e76
pipeline yaml defaults to gnocchi publisher. This wont work
if collector(which is deprecated) is still being used. This
should be set to notifier:// instead. So lets make this
configurable.
Change-Id: I242642035c3d3d6e814f54bcd2d1e15c3a53120b
In pike, the default publisher is gnocchi. Lets use that
as the default. If you are using collector the override
this to notifier:// instead.
Change-Id: Ic6ba909c873bee801843718cc25974abeda9f857
As messaging_urls option contains rabbit_password value, it should
be secured.
Change-Id: I503180280a5558d27c00368e9949aaed52151e79
Closes-Bug: #1676708
This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain. This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.
Change-Id: I0d18ec6ffe6b54c85773a6dabb0ed7b6f59a12f4
Allow event_pipeline.yaml to have publishers specified. This is
required to support aodh event alarms by pushing notifications
to an alarm queue as described here:
http://docs.openstack.org/developer/aodh/event-alarm.html
Change-Id: If367192f9c0214b3b4462788024dd9222dff558e
Signed-off-by: Michael Chapman <woppin@gmail.com>
Ceilometer supports multiple notifications. The config
entry in ceilometer.conf allows for a multi-value for
notification/messaging_urls.
Change-Id: Ic1791c7021bf2dbb06269317b8495eebc8d6e7ed
Closes-Bug: 1564061
Set the 'ceilometer-service' tag for the collector and the
notification services as it happens already for the others.
Change-Id: I4c6fe871a1d55ea4dfdfc33edafdcf57bbd91e5e
The notification_workers/api_workers/collector_workers options are
deprecated and should be set in [notification]/[api]/[collector]
sections separately.
Closes-Bug: #1533276
Change-Id: If1816830affd9de71ae5ee7bc2869eee7eaf8473
We've been missing ability to configure two options:
- collector_workers, number of workers for collector service.
- notification_workers, number of workers for notification service.
- api_workers, number of workers for api service.
Co-Authored-By: Ivan Berezovskiy <iberezovskiy@mirantis.com>
Change-Id: Ifc1f1623289560f873442a702a23a5cc1c831c72
Some users wish to override the default package provider by their own.
Tag all packages with the 'openstack' to allow mass resource attributes
override using resource collectors.
Closes-bug: #1391209
Change-Id: If43101b9974d26c88f8612da64c5356a644f892e
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This changes the puppet-lint requirement to 1.1.x, so that we can use
puppet-lint plugins. Most of these plugins are for 4.x compat, but some
just catch common errors.
This commit also remove custom metadata rake task (this task is now
provided by puppetlabs_spec_helper).
Conflicts:
Gemfile
Change-Id: I22369948db6a2f8ddab9b8c93c3a047ff2e229ca
puppet-ceilometer lacks of disabling service managing. This patch adds
$manage_service parameter to all relevant classes.
Closes-bug: #1359823
Change-Id: Iee545b46ef5d7cf92859356ae84b8103564bf047
In Icehouse, ceilometer-agent-notification is a new service which splits
ceilometer-collector responsibilites.
implement blueprint ceilometer-agent-notification
Change-Id: Iccc660814991e30b12a884a6e6ffd4f581c768c4
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>