]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/log
puppet-modules/puppet-ceilometer.git
10 years agoAdd manage_service feature
Martin Magr [Wed, 20 Aug 2014 13:57:55 +0000 (15:57 +0200)]
Add manage_service feature

puppet-ceilometer lacks of disabling service managing. This patch adds
$manage_service parameter to all relevant classes.

Closes-bug: #1359823
Change-Id: Iee545b46ef5d7cf92859356ae84b8103564bf047

10 years agoFix ceilometer agent notification package error
Xingchao Yu [Thu, 7 Aug 2014 07:05:23 +0000 (15:05 +0800)]
Fix ceilometer agent notification package error

ceilometer-notification package name should be
openstack-ceilometer-notification in RHEL.
See more info in related bug tracker record.

Change-Id: If64f1ea641c5d99c0adf2104a308c2d5442c3324
Closes-Bug: #1353844

10 years agoAdd ability to disable ceilometer-collector without db
Mathieu Gagné [Tue, 5 Aug 2014 15:58:27 +0000 (11:58 -0400)]
Add ability to disable ceilometer-collector without db

You are no longer required to include ceilometer::db when
disabling ceilometer-collector using the enabled parameter.

The relationships with any database resources are now only enforced
when the service is enabled.

Closes-bug: #1352958
Change-Id: I00a5e651184788acdd30de1908e2bf38566f78e1

10 years agoMerge "Use 2.2 as the default mysql_module"
Jenkins [Tue, 29 Jul 2014 23:01:01 +0000 (23:01 +0000)]
Merge "Use 2.2 as the default mysql_module"

10 years agoUse 2.2 as the default mysql_module
Soren Hansen [Wed, 16 Jul 2014 13:13:48 +0000 (18:43 +0530)]
Use 2.2 as the default mysql_module

Change-Id: I91c87fa0b4d5871aa936a5b4842b47f4cfee4ca8

10 years agoRemove deprecation notice for sectionless ceilometer_config
Sebastien Badia [Sat, 12 Jul 2014 00:20:30 +0000 (02:20 +0200)]
Remove deprecation notice for sectionless ceilometer_config

ceilometer_config used to accept section-less configuration name.

Change-Id: I11348ced3bccb1bb88ae493ae1e15017aa360096

10 years agoFixes Facts string comparisons in CentOS 7
Gael Chamoulaud [Wed, 9 Jul 2014 09:52:25 +0000 (11:52 +0200)]
Fixes Facts string comparisons in CentOS 7

- CentOS Project has adopted a new rule for versioning numbers. The major number
  matches the RHEL major number, but the minor number is generated from the
  release date. For example, CentOS 7.0.1407.
- Adds Support for Scientific Linux.

Change-Id: I3220206aa01b9f5c838e524b3fec723c92435153
Closes-Bug: 1338777
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
10 years agoMake Modulefile summary and description consistent
Mathieu Gagné [Wed, 2 Jul 2014 17:51:13 +0000 (13:51 -0400)]
Make Modulefile summary and description consistent

Improve consistency of Modulefile across puppet modules for OpenStack.

Change-Id: Ia6e7918ce783c603720f8da97b54cb40edd25a59

11 years agoNormalize Gemfile & pin tests to rspec < 2.99
Clayton O'Neill [Fri, 20 Jun 2014 11:51:19 +0000 (07:51 -0400)]
Normalize Gemfile & pin tests to rspec < 2.99

Pin to rspec < 2.99 until rspec-puppet officially supports rspec 3.x.
This is to avoid warnings due to deprecated matchers in the
rspec-puppet gem.

This change is also intended to normalize the Gemfile for all stackforge
puppet modules.  This should facilitate pinning gem versions when
releasing new stable branches, since the same diff can be used for all
repos.

Change-Id: Ia1286824cebca09e20bf6d11a3435982b93442b9
Partial-Bug: #1326034

11 years agoHide secrets from puppet logs
Stefano Zilli [Tue, 10 Jun 2014 09:17:39 +0000 (11:17 +0200)]
Hide secrets from puppet logs

Currently secrets like rabbit_password or os_password are displayed in
puppet logs when changed. This commit changes ceilometer_config type
adding a new parameter that triggers obfuscation of the values in
puppet logs.

Change-Id: I9eb6504220c5337c154bf5ad86c7d22bea64df51
Closes-Bug: #1328448

11 years agoMerge "Fixes agent_notification_service_name"
Jenkins [Thu, 5 Jun 2014 15:42:45 +0000 (15:42 +0000)]
Merge "Fixes agent_notification_service_name"

11 years agoFixes agent_notification_service_name
Ivan Chavero [Mon, 26 May 2014 12:54:45 +0000 (06:54 -0600)]
Fixes agent_notification_service_name

This patch corrects the service name of the ceilometer notification
agent, which was 'ceilometer-agent-notification' in pre-release RPMs but
was later changed to 'ceilometer-notification'.

Change-Id: Ie2703a028ce154efa7fa1d0da58914230adfc7db

11 years agoDefault to utf8 for MySQL
Chris Ricker [Fri, 23 May 2014 19:14:48 +0000 (15:14 -0400)]
Default to utf8 for MySQL

Change default charset to utf8 and default collation order to
utf8_unicode_ci to align with upstream defaults.

Change-Id: I0fb57f14a0d30226c840a6e920f2b3807b90080a
Closes-Bug: #1322715

11 years agoFail when ssl parameters are missing and rabbit_use_ssl is set to true
Yanis Guenane [Fri, 16 May 2014 15:48:51 +0000 (11:48 -0400)]
Fail when ssl parameters are missing and rabbit_use_ssl is set to true

This commit causes the run to fail is rabbit_use_ssl parameter is set
to true but the ssl related parameters remains undef.

Change-Id: Idd40601fe4a632204fdde120b857d0e22b6a2aed

11 years agoImplement rspec function it_raises
Yanis Guenane [Thu, 15 May 2014 18:40:46 +0000 (14:40 -0400)]
Implement rspec function it_raises

On some puppet modules, a it_raises helper is provided. This commit
implements it for puppet-ceilometer.

Change-Id: Ie1c83e09952fed1f114fc07d9944f89e94c413f1

11 years agonotification agent: fix dependency cycle
Emilien Macchi [Wed, 7 May 2014 20:50:52 +0000 (22:50 +0200)]
notification agent: fix dependency cycle

Fix the loop on ceilometer-agent-notification package.

Change-Id: I8e8663fd51f58d419896aa531d49f8e5fc57cdcd

11 years agoMerge "Add RabbitMQ SSL support" 4.0.0
Jenkins [Tue, 6 May 2014 12:59:27 +0000 (12:59 +0000)]
Merge "Add RabbitMQ SSL support"

11 years agoensure_packages needs array in agent::notification
Benedikt Trefzer [Tue, 6 May 2014 11:36:10 +0000 (13:36 +0200)]
ensure_packages needs array in agent::notification

Change-Id: I7029a2e60228bc5014c9008d794493452c822826

11 years agoAdd RabbitMQ SSL support
John Eckersberg [Mon, 5 May 2014 20:20:49 +0000 (16:20 -0400)]
Add RabbitMQ SSL support

Change-Id: I6efe4819fb703ea815de259cb91b2ee50f51a0e3

11 years ago4.0.0 - 2014.1.0 - Icehouse Release
Chris Hoge [Thu, 1 May 2014 17:00:42 +0000 (10:00 -0700)]
4.0.0 - 2014.1.0 - Icehouse Release

Updated Modulefile and README.md for 4.0.0 release.

Change-Id: Ic5d5681c29d4e5c49033d466d5b277ff743303fa

11 years agoMerge "Introduce ceilometer:config to manage custom options"
Jenkins [Tue, 29 Apr 2014 13:22:42 +0000 (13:22 +0000)]
Merge "Introduce ceilometer:config to manage custom options"

11 years agoIntroduce ceilometer:config to manage custom options
Xingchao Yu [Thu, 3 Apr 2014 11:24:03 +0000 (19:24 +0800)]
Introduce ceilometer:config to manage custom options

This ceilometer::config is aim to use ceilometer_config resource
to manage custom configurations in ceilometer.conf.

This will make end user easy to add their own custom options
in Hiera data.

Fully implements blueprint ceilometer-custom-config

Change-Id: I82b38ca26d4d99471a74b2c116e4c4133262187c

11 years agoAdd table to mysql_grant call
Mark T. Voelker [Thu, 17 Apr 2014 07:16:00 +0000 (03:16 -0400)]
Add table to mysql_grant call

When using puppetlabs-mysql 2.2 with the ceilometer module, an
error occurs due to a call to mysql_grant not specifying a table.
This patch corrects the error by rectifying the mysql_grant call.

Change-Id: I0619446907c5fb51dcdb6e5717faeb61442c699b
Closes-Bug: #1308884

11 years agoRemove duplicate instance_usage_audit
Chris Ricker [Mon, 7 Apr 2014 20:44:45 +0000 (13:44 -0700)]
Remove duplicate instance_usage_audit

nova.conf parameters for ceilometer notifications are defined in both
puppet-ceilometer and puppet-nova due to change I9e10dfb2. Remove the
redundant definition from puppet-ceilometer.

Change-Id: I7f27a731b68359b22785e3807beaf94a39f185bf
Closes-Bug: #1304017

11 years agoMerge "Updated to match semver and release notes."
Jenkins [Fri, 28 Mar 2014 21:45:37 +0000 (21:45 +0000)]
Merge "Updated to match semver and release notes."

11 years agoUpdated to match semver and release notes.
Chris Hoge [Fri, 21 Mar 2014 22:45:41 +0000 (15:45 -0700)]
Updated to match semver and release notes.

Before this update the Modulefile was not following semver in
relation to stable/havana, and the README files were not in sync.
This update introduces proper semver and consistency.

Change-Id: I9ecce6a74fa139d339d8c5d9c7392c3d8c3344ec

11 years agoFixed gate by Updating Gemfile to pin Rake to 10.1.1
Chris Hoge [Mon, 24 Mar 2014 22:28:37 +0000 (15:28 -0700)]
Fixed gate by Updating Gemfile to pin Rake to 10.1.1

The latest Rake update requires Ruby >= 1.9. Bundler in the
current gate uses 1.8.x. This update fixes the gate by pinning
Rake to the last known working version.

Change-Id: I857f6638a54160a315d5d98c77357a7f6449f3bd

11 years agoMerge "Add support for puppetlabs-mysql 2.2"
Jenkins [Fri, 21 Mar 2014 15:23:31 +0000 (15:23 +0000)]
Merge "Add support for puppetlabs-mysql 2.2"

11 years agoMerge "Fix ensure_packages error"
Jenkins [Tue, 18 Mar 2014 08:55:54 +0000 (08:55 +0000)]
Merge "Fix ensure_packages error"

11 years agoMerge "Changes file_path to self.file_path"
Jenkins [Mon, 17 Mar 2014 12:00:50 +0000 (12:00 +0000)]
Merge "Changes file_path to self.file_path"

11 years agoAdd support for puppetlabs-mysql 2.2
Michael Chapman [Fri, 28 Feb 2014 09:08:29 +0000 (20:08 +1100)]
Add support for puppetlabs-mysql 2.2

This patch adds support for the new version of
puppetlabs-mysql via a parameter that will change
which types and classes to depend on from the
mysql module. No spec tests are included since any
tests relying on the new module will fail until
the fixtures are updated.

Change-Id: I3f76cc600ef8d6e0c88c988f96aadbf18d81f7f1

11 years agoFix ensure_packages error
Mark T. Voelker [Sat, 15 Mar 2014 05:15:02 +0000 (01:15 -0400)]
Fix ensure_packages error

The ceilometer::collector class calls ensure_packages()
on a single package name, but the package name is provided
as a string rather than a one-element array.  This causes an
error of the form:

Error: ensure_packages(): Requires array given (String) at
/usr/share/puppet/modules/ceilometer/manifests/collector.pp:16

This patch corrects the error by passing an array instead
of a string.

Change-Id: I96cedf7561af29d92924746881c52bdd1502365f
Closes-Bug: #1292775

11 years agoFix region name configuration
Mathieu Gagné [Tue, 11 Mar 2014 19:58:37 +0000 (15:58 -0400)]
Fix region name configuration

The configuration name is os_region_name, not os_auth_region.

Change-Id: I0849c18c35b39335edda0cbc64c7fb4c5b145d44
Closes-bug: #1291030

11 years agoMerge "Implement notification agent service"
Jenkins [Wed, 5 Mar 2014 23:53:39 +0000 (23:53 +0000)]
Merge "Implement notification agent service"

11 years agoMerge "Move service polling credentials to service_credentials"
Jenkins [Wed, 5 Mar 2014 21:42:07 +0000 (21:42 +0000)]
Merge "Move service polling credentials to service_credentials"

11 years agoMove service polling credentials to service_credentials
Mathieu Gagné [Tue, 4 Mar 2014 21:57:42 +0000 (16:57 -0500)]
Move service polling credentials to service_credentials

Change-Id: I74a523bcc1acd18532bb9353b70da63c70e8e325
Closes-bug: #1287939

11 years agoImplement notification agent service
Emilien Macchi [Fri, 24 Jan 2014 14:25:06 +0000 (15:25 +0100)]
Implement notification agent service

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>
11 years agoAdd ability to override notification_topics
Mathieu Gagné [Tue, 28 Jan 2014 23:28:26 +0000 (18:28 -0500)]
Add ability to override notification_topics

The notification_topics value was hard-coded to 'notifications'.

This adds the ability to configure its value.

Change-Id: Ifa831dcc558d41f0de967e5c787ba349a06469d0
Closes-bug: #1273883

11 years agoMerge "Do not enforce glance_control_exchange"
Jenkins [Sun, 23 Feb 2014 04:37:07 +0000 (04:37 +0000)]
Merge "Do not enforce glance_control_exchange"

11 years agoDefine $user referenced in db.pp
Yanis Guenane [Thu, 20 Feb 2014 14:55:13 +0000 (09:55 -0500)]
Define $user referenced in db.pp

In db.pp, in the exec 'ceilometer dbsync' ressource the user
is supposed to be $::ceilometer::params::user, but it was
not defined.

Change-Id: I812b6ba2877faddfce86d3c97b95772b0d22d368

11 years agoAllow db fields configuration without doing the dbsync
Yanis Guenane [Wed, 19 Feb 2014 18:50:34 +0000 (13:50 -0500)]
Allow db fields configuration without doing the dbsync

This commit allows one to configure the db fields without running the actual
dbsync command. It remains compliant with the current implementation, leaving
exec {'ceilometer-dbsync': in the catalog. One, now, can decide if it wants
the dbsync to take place or not.

This is useful when one picks mongodb as a backend and wants to use replicaset
This way it can scale horizontally and painlessly using the initSync feature
of mongodb. With this pattern one can add new member of the replica set
easily.

Change-Id: I8618bb385147176512fbda1540ba75ac95fccbf1

11 years agoAllow log_dir to be set to false in order to disable file logging
David Moreau Simard [Fri, 14 Feb 2014 16:42:16 +0000 (11:42 -0500)]
Allow log_dir to be set to false in order to disable file logging

This backward compatible commit allows a user to disable logging to
a directory for example if using syslog logging.

Change-Id: I8b496c311b9f26cab64c38d1cfd545784dfc7cab
Related-bug: #1269482

11 years agoChanges file_path to self.file_path
Stefano Zilli [Fri, 14 Feb 2014 15:19:41 +0000 (16:19 +0100)]
Changes file_path to self.file_path

Changes file_path to self.file_path in ceilometer_config provider
in order to allow purging as specified in ini_file puppet module
readme.

Change-Id: I41f7c83e3a63b9af9e683933aa09bd45d5b18deb
Closes-Bug: 1280329

11 years agoMerge "Remove glance_notifications from notification_topic"
Jenkins [Fri, 14 Feb 2014 02:36:41 +0000 (02:36 +0000)]
Merge "Remove glance_notifications from notification_topic"

11 years agoMerge "Move metering_secret to publisher section"
Jenkins [Wed, 5 Feb 2014 12:47:51 +0000 (12:47 +0000)]
Merge "Move metering_secret to publisher section"

11 years agoDon't match commented [DEFAULT]
Martin Magr [Mon, 3 Feb 2014 13:31:26 +0000 (14:31 +0100)]
Don't match commented [DEFAULT]

Class ceilometer::agent::compute fails when there are [DEFAULT] sections
commented. This patch is fixing this issue. For more info check
https://bugzilla.redhat.com/show_bug.cgi?id=1060712

Change-Id: I6d13f780f63af8798d94b49246576d1e144a4540

11 years agoDo not enforce glance_control_exchange
Mathieu Gagné [Tue, 28 Jan 2014 23:18:00 +0000 (18:18 -0500)]
Do not enforce glance_control_exchange

The default glance_control_exchange in Ceilometer has been changed
from 'glance_notifications' to 'glance' in grizzly-2. Glance always
had 'glance' for its control_exchange.

This was a bug in Ceilometer and puppet-ceilometer patched it.
It shouldn't anymore.

Change-Id: I217515c91f092fb3e8039dde2d14a7ab4cbb7245
Closes-bug: #1273878

11 years agoRemove glance_notifications from notification_topic
Mathieu Gagné [Tue, 28 Jan 2014 23:13:01 +0000 (18:13 -0500)]
Remove glance_notifications from notification_topic

The default notification_topic in Glance has been changed from
'glance_notifications' to 'notifications' in grizzly-2.

Ceilometer was configured to also listen on the
'glance_notifications' notification_topic in addition to
'notifications' to patch this bug. It shouldn't anymore.

Change-Id: I3d797c7e849319a1e20ef3ecbf158e8b8579d450
Closes-bug: #1273876

11 years agoMove metering_secret to publisher section
Emilien Macchi [Fri, 24 Jan 2014 13:19:42 +0000 (14:19 +0100)]
Move metering_secret to publisher section

In Icehouse, metering_secret has been moved to [publisher]:
http://git.io/11NwNw

Change-Id: I96c70781902e927c0295af78c93b400d7b4684bb
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
11 years agoRemove log_dir from params and make logs configurable in init
David Moreau Simard [Tue, 21 Jan 2014 18:30:02 +0000 (13:30 -0500)]
Remove log_dir from params and make logs configurable in init

log_dir does not seem to be used in other classes. In the use case where
it can be necessary to specify the location of ceilometer logs, this
patch makes it possible to do so while maintaining the default for
backwards compatibility. This patch also adds the possibility of
sending logs to syslog/rsyslog in the same way as implemented in
puppet-nova.

Change-Id: I1f970d5e3cc947308221fb2b2cdfb34f89c64314
Partial-Bug: #1269482

11 years agoMerge "Fix package ceilometer-alarm type error on Debian"
Jenkins [Tue, 14 Jan 2014 16:57:55 +0000 (16:57 +0000)]
Merge "Fix package ceilometer-alarm type error on Debian"

11 years agoMerge "Only add ceilometer user to nova group if using compute agent"
Jenkins [Tue, 14 Jan 2014 08:01:03 +0000 (08:01 +0000)]
Merge "Only add ceilometer user to nova group if using compute agent"

11 years agoFixed mysql dependency to match other modules
Chris Hoge [Thu, 9 Jan 2014 00:20:19 +0000 (16:20 -0800)]
Fixed mysql dependency to match other modules

Fixed the mysql dependency to match the other puppet-openstack modules.

Change-Id: I8ad1011f892e2cadfbfa3fa4ca932fae9ded5cf0

11 years agoOnly add ceilometer user to nova group if using compute agent
David Moreau Simard [Tue, 7 Jan 2014 21:41:14 +0000 (16:41 -0500)]
Only add ceilometer user to nova group if using compute agent

When using ceilometer outside of the compute context (ex: with the
swift middleware), puppet-ceilometer attempts to add the user to
the nova group which does not (and probably should not) exist on
the swift nodes.

Change-Id: I6cc68152325a967c024ce611f92a90ce0afba8cc

11 years agoFix package ceilometer-alarm type error on Debian
Sebastien Badia [Sat, 4 Jan 2014 10:32:35 +0000 (11:32 +0100)]
Fix package ceilometer-alarm type error on Debian

This commit:
  - Fix type error about ceilometer-alarm package name
    - See bug #1263946
  - Fix indentation on Debian params.pp
  - Fix spec warnings (partition_rpc_topic,record_history)

Closes-bug: #1263946

Change-Id: I1ad19af429f2787d58837e51da95e981bdd66b40

11 years agoAdd API binding options
Emilien Macchi [Thu, 2 Jan 2014 14:50:34 +0000 (15:50 +0100)]
Add API binding options

Ceilometer is able to bind API server to both an IP address and a port.
This patch aims to add support for both configuration flags.

Change-Id: I83164a925cf115d091cb04d14922ee7bbdd0ac63
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
11 years agoMerge "Add Gemfile.lock to gitignore"
Jenkins [Sun, 29 Dec 2013 07:06:04 +0000 (07:06 +0000)]
Merge "Add Gemfile.lock to gitignore"

11 years agoAdd Gemfile.lock to gitignore
Sebastien Badia [Mon, 23 Dec 2013 18:00:48 +0000 (19:00 +0100)]
Add Gemfile.lock to gitignore

Change-Id: I397c8e72ae656c03f472137041e8ab950f529dfc

11 years agoRemove use of deprecated include_class matcher
Mathieu Gagné [Mon, 23 Dec 2013 07:27:17 +0000 (02:27 -0500)]
Remove use of deprecated include_class matcher

include_class is deprecated since rspec-puppet 1.0.0.
contain_class should be used instead.

Closes-bug: #1263617
Change-Id: If2e5a2c467a5d1c4eb130dc6b2643d05c748abe0

11 years agoTTL mechanism support with expirer service
Emilien Macchi [Wed, 4 Dec 2013 00:04:42 +0000 (01:04 +0100)]
TTL mechanism support with expirer service

Aims to support a TTL mechanism for data entering Ceilometer
collector database.
TTL is very useful to configure when getting a lot of meters.

implement blueprint ttl-support
Change-Id: I9d98e8b833ad94fd79722dee7226e7f4f03aaa2e
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
11 years agoUpdates to params.pp for mongo and postgres packages
Francesco Vollero [Thu, 31 Oct 2013 18:11:58 +0000 (19:11 +0100)]
Updates to params.pp for mongo and postgres packages

*) Removed the hardcoded postgres package from db.pp
*) Changed the mongo package to python-pymongo for RHEL

Change-Id: Ib975f9ce03ee8ffa423e75b62b595bcdefdd1eed
Signed-off-by: Francesco Vollero <fvollero@redhat.com>
11 years agoMerge "changed rabbit_virtualhost(wrong) to rabbit_virtual_host"
Jenkins [Wed, 13 Nov 2013 10:49:16 +0000 (10:49 +0000)]
Merge "changed rabbit_virtualhost(wrong) to rabbit_virtual_host"

11 years agoMerge "Alarm: record history support"
Jenkins [Wed, 13 Nov 2013 10:35:42 +0000 (10:35 +0000)]
Merge "Alarm: record history support"

11 years agofix postgresql connection string
Benedikt Trefzer [Wed, 6 Nov 2013 09:32:59 +0000 (10:32 +0100)]
fix postgresql connection string

Change-Id: I55fab1b9256df92cd521141a9d04a2aa2feb08c9

11 years agochanged rabbit_virtualhost(wrong) to rabbit_virtual_host
Benedikt von St. Vieth [Wed, 6 Nov 2013 08:26:41 +0000 (09:26 +0100)]
changed rabbit_virtualhost(wrong) to rabbit_virtual_host

the puppet module configures a rabbit_virtualhost, there is a missing underscore (rabbit_virtual_host). changed this for manifest and tests.

Change-Id: I02b34eb6531cfa0071a7e52f5a97f0e952f8ea85

11 years agoAlarm: record history support
Emilien Macchi [Fri, 1 Nov 2013 23:50:54 +0000 (00:50 +0100)]
Alarm: record history support

Ceilometer Alarm is able to record alarm change events.
This patch add this support in manifest.

Change-Id: Id8ece03dfd3491cd2886a345771df9622d702190
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
11 years agoUpdated site.pp and added alarm manifests
Francesco Vollero [Tue, 29 Oct 2013 17:07:31 +0000 (18:07 +0100)]
Updated site.pp and added alarm manifests

Change-Id: Ic9e8f977984bda02f60028b2ae18605df52a9205

11 years agoAdded alarm-notifier and alarm-evaluator services
Francesco Vollero [Wed, 9 Oct 2013 17:54:24 +0000 (19:54 +0200)]
Added alarm-notifier and alarm-evaluator services

This patch add the two services to the current puppet module to
be in line with the havana release.

Change-Id: Idfd422078d73aaee6da28cef35d825dd24e8afb8

11 years agoAllow to set full url for endpoints
François Charlier [Thu, 19 Sep 2013 15:33:58 +0000 (17:33 +0200)]
Allow to set full url for endpoints

This changeset allows to set full url for endpoints. The default is
still to use the {public,admin,internal}_{protocol,host} and port
variables. The {public,admin,internal}_url parameters override the
_protocol, _host & port parameters.

There were previously one parameter for each {public,admin,internal}
endpoint url component (protocol, host), but not port.
Adding more parameters to allow different port would add too much
parameters and still missing the path part.

Fixes Bug#1227742

Change-Id: I834be8ab0f160b24348d218197711e8ecc392f5b

11 years agoAdd ceilometer::agent::auth.
Dan Prince [Wed, 4 Sep 2013 17:00:36 +0000 (13:00 -0400)]
Add ceilometer::agent::auth.

Adds a new agent::auth manifest to hold common auth
parameters used by the Ceilometer compute and central agents.

This fixes a deployment issue where you would get duplicate
auth parameter errors when trying to configure the compute
and central agent on the same machine.

Fixes Bug #1220810.

Change-Id: I167c6c570bdebb4be2ef99cd0b9cf81f37856d9f

11 years agoUse connection to replace deprecated database_connection
Xingchao Yu [Mon, 9 Sep 2013 10:49:38 +0000 (18:49 +0800)]
Use connection to replace deprecated database_connection

This patch is aim to use new param connection in [database]
section to replace the deprecated option database_connection
in [DEFAULT].

Fixes bug #1222744

Change-Id: I82082b791a4c16eb50092b3a96fb8ae439af4e5b

11 years agoMerge "Inline a custom file_line provider to fix agent."
Jenkins [Thu, 5 Sep 2013 16:11:01 +0000 (16:11 +0000)]
Merge "Inline a custom file_line provider to fix agent."

11 years agoMerge "Add default auth_uri setting for auth token."
Jenkins [Thu, 5 Sep 2013 05:14:15 +0000 (05:14 +0000)]
Merge "Add default auth_uri setting for auth token."

11 years agoInline a custom file_line provider to fix agent.
Dan Prince [Thu, 29 Aug 2013 16:56:10 +0000 (12:56 -0400)]
Inline a custom file_line provider to fix agent.

Fixes an issue in the ceilometer::agent::compute manifest
where nova.conf config values for the notification_driver
would get added to the wrong section (always to the end of
the file).

As part of the fix a custom file_line 'after' provider which
supports a new after option has been added.
This allows us to have some control over which section *new*
file lines go into. If there are any pre-existing matching
lines in the file the assumption is that they are already in
the correct section and can be edited in place.

NOTE: I've submitted a pull request to the upstream stdlib repo here
to add the new 'after' option:

  https://github.com/puppetlabs/puppetlabs-stdlib/pull/174

Once this (or something better) lands in stdlib we can update
puppet-ceilometer to use it.

Fixes LP Bug #1217867

Change-Id: Ic09f5232b322cde687d663d1ef38ef0fd12f32ff

11 years agoMerge "Handle Centos/RHEL pymongo packages"
Jenkins [Sat, 31 Aug 2013 20:46:22 +0000 (20:46 +0000)]
Merge "Handle Centos/RHEL pymongo packages"

11 years agoAdd default auth_uri setting for auth token.
Dan Prince [Thu, 29 Aug 2013 14:41:48 +0000 (10:41 -0400)]
Add default auth_uri setting for auth token.

The latest keystoneclient code now gives a Warning if auth_uri
isn't explicitly specified.

Change-Id: I0feb52f7a9140ea750254f80b6a3e6855b25f1d3

11 years agoHandle Centos/RHEL pymongo packages
Ian Wienand [Thu, 22 Aug 2013 04:53:32 +0000 (14:53 +1000)]
Handle Centos/RHEL pymongo packages

RHEL/Centos has a different name for pymongo packages.  Fedora doesn't
provide python-sqlite2 so we undef that.

Fixes bug 1194141

Change-Id: If03f420c41e518227a1422882842661dfc8edd7e

11 years agoFail puppet-lint on warnings
Mathieu Gagné [Wed, 28 Aug 2013 17:21:53 +0000 (13:21 -0400)]
Fail puppet-lint on warnings

Puppet-lint will now fail if there is any warnings.

Change-Id: I49e181bdfd0b27a61bf7242accd352a3625eaf93

11 years agoMerge "Add support for CA authentication in Keystone"
Jenkins [Thu, 15 Aug 2013 21:35:37 +0000 (21:35 +0000)]
Merge "Add support for CA authentication in Keystone"

11 years agoMerge "Clean all warnings for puppet-lint gate"
Jenkins [Tue, 13 Aug 2013 15:13:46 +0000 (15:13 +0000)]
Merge "Clean all warnings for puppet-lint gate"

11 years agoMerge "Use Puppet boolean for better consistency"
Jenkins [Tue, 13 Aug 2013 14:34:30 +0000 (14:34 +0000)]
Merge "Use Puppet boolean for better consistency"

11 years agoClean all warnings for puppet-lint gate
Emilien Macchi [Tue, 13 Aug 2013 14:29:34 +0000 (16:29 +0200)]
Clean all warnings for puppet-lint gate

Change-Id: I292adf43bd434ca38d71baae6144e6ac4fea94a9

11 years agoDisable 80chars/class_parameter_defaults checks
Mathieu Gagné [Mon, 12 Aug 2013 20:46:08 +0000 (16:46 -0400)]
Disable 80chars/class_parameter_defaults checks

* Disable warnings for "line has more than 80 characters"
* Disable warnings for "parameterised class parameter without a default value"

We do not wish to track warnings for such violations.

Change-Id: I4a00f219682a83f051c92b5e885e778b9422fdbf

11 years agoAdd support for CA authentication in Keystone
Emilien Macchi [Fri, 9 Aug 2013 14:43:05 +0000 (16:43 +0200)]
Add support for CA authentication in Keystone

* Add os_cacert flag support in manifests
* Add all required tests for Agent Central

Patch in Ceilometer: https://review.openstack.org/#/c/38448/

Change-Id: I6689143daddfac71ca5dcc2c6fd55cd14a4455e3

11 years agoUse Puppet boolean for better consistency
Mathieu Gagné [Fri, 9 Aug 2013 19:50:41 +0000 (15:50 -0400)]
Use Puppet boolean for better consistency

Change-Id: I894af9499f1ea2fc255aa62fa6522c04a32d8a7c

11 years agoUpdate .fixtures.yml to use puppetlabs/inifile
Connor Kaz [Fri, 9 Aug 2013 01:56:20 +0000 (18:56 -0700)]
Update .fixtures.yml to use puppetlabs/inifile

Change-Id: Ifb6b85dd403b79ea5a9a4f7f2fcc66e68a96c1f5

11 years agoMerge "Adding support for qpid in ceilometer, rspec for qpid part in ceilometer"
Jenkins [Thu, 8 Aug 2013 14:34:31 +0000 (14:34 +0000)]
Merge "Adding support for qpid in ceilometer, rspec for qpid part in ceilometer"

11 years agoUpdate mysql allowed_hosts conditional statement
Xingchao Yu [Sun, 4 Aug 2013 09:09:06 +0000 (17:09 +0800)]
Update mysql allowed_hosts conditional statement

In the origin ceilometer::db::mysql, if the value of $allowed_hosts
contains or equals to $host, then puppet will complain duplicate
declaration error. This patch is aim to update the allowed_hosts
conditonal statement in ceilometer::db::mysql.

There are two cases to pass $allowed_hosts to $real_allowed_hosts:

   - If $allowed_hosts is array,then remove $host from $allowed_hosts;
   - elsif $allowed_hosts is string and not equivalent to $host;

At last, if $real_allowed_hosts is not undef, then run
ceilometer::db::mysql::host_access

Fix bug 1206444

Change-Id: Ib6c33e6a27113d01326bee32c105fea4003059ce

11 years agoAdding support for qpid in ceilometer, rspec for qpid part in ceilometer
Francesco Vollero [Thu, 1 Aug 2013 12:42:23 +0000 (14:42 +0200)]
Adding support for qpid in ceilometer, rspec for qpid part in ceilometer

Change-Id: I45396d3175b7984d47dbdb626c1729e0b2fdc105

11 years agoRemove duplicated fixtures
Mathieu Gagné [Mon, 1 Jul 2013 02:16:34 +0000 (22:16 -0400)]
Remove duplicated fixtures

Sort fixtures for better maintainability.

Change-Id: I17d4229584e2df2da2666e00f17bfcacdb8cdd03

11 years agoReplace deprecated :rubygems source
Mathieu Gagné [Mon, 1 Jul 2013 02:08:36 +0000 (22:08 -0400)]
Replace deprecated :rubygems source

Fix deprecation warnings thrown by bundler:

  The source :rubygems is deprecated because HTTP requests are insecure.
  Please change your source to 'https://rubygems.org' if possible,
  or 'http://rubygems.org' if not.

Change-Id: Ifaba2b94d7b47cd32b9bb6eec04cf7f4b89d0411

12 years agoMerge "Add auth_admin_prefix support for ceilometer::api"
Jenkins [Mon, 17 Jun 2013 04:46:23 +0000 (04:46 +0000)]
Merge "Add auth_admin_prefix support for ceilometer::api"

12 years agoSwitch deprecated rabbit_notifier to rpc_notifier
François Charlier [Thu, 6 Jun 2013 10:23:53 +0000 (12:23 +0200)]
Switch deprecated rabbit_notifier to rpc_notifier

The 'nova.openstack.common.notifier.rabbit_notifier' is deprecated since
the G release of Openstack, it has to be replaced with
'nova.openstack.common.notifier.rpc_notifier'.

Change-Id: I2174bc1b6504bacfeb427b2f5b8f8dc19c167dcb

12 years agoAdd auth_admin_prefix support for ceilometer::api
François Charlier [Thu, 6 Jun 2013 13:41:45 +0000 (15:41 +0200)]
Add auth_admin_prefix support for ceilometer::api

To support keystone urls like http://host:80/keystone/admin

Implements blueprint serve-keystone-from-wsgi

Change-Id: I68c17a5b76ed61b18337ee580fba63200d874792

12 years agoMerge "Capitalize boolean values in config files"
Jenkins [Wed, 22 May 2013 04:21:46 +0000 (04:21 +0000)]
Merge "Capitalize boolean values in config files"

12 years agoMerge "Add .gitreview"
Jenkins [Wed, 22 May 2013 00:26:29 +0000 (00:26 +0000)]
Merge "Add .gitreview"

12 years agoAdd puppet-lint to Gemfile
Mathieu Gagné [Tue, 21 May 2013 23:50:07 +0000 (19:50 -0400)]
Add puppet-lint to Gemfile

Change-Id: I34b20c29c27877c982c659253004df0a69cd0d27

12 years agoCapitalize boolean values in config files
Mathieu Gagné [Tue, 21 May 2013 23:47:00 +0000 (19:47 -0400)]
Capitalize boolean values in config files

This patch allows the usage of Puppet boolean values and still
configure values with OpenStack boolean style: True/False.

Change-Id: I413060bc2ec0a8d795a240cc144e503efae41e49

12 years agoAdd .gitreview
Mathieu Gagné [Tue, 21 May 2013 23:48:04 +0000 (19:48 -0400)]
Add .gitreview

Change-Id: Ia6bf51eb6acb37b12294f19151f63af419722f6b

12 years agoUpdate README
François Charlier [Fri, 26 Apr 2013 10:09:21 +0000 (13:09 +0300)]
Update README