Explicitly set default notifier strategy

Havana claims to set this to the default, but in reality it does not.
The default is actually set to qpid because oslo.config automatically
looks for default options in /usr/share/glance/glance-api-dist.conf,
which in turn sets `notifier_strategy = qpid`.

Later version of oslo.config seem to have fixed this behavior and do not
load *-dist* config files.

Though this patch exposes a $notifier_strategy parameter to the
glance::api class, including glance::notify::{rabbit,qpid} to set the
correct notifier strategy should still be the prescribed way to override
the 'noop' behavior.

Change-Id: Ic2c67da463e7053a98042d9cba099aa857913ee7
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: Ib36f65ae8ef03329d407929973dba2db1156cf74
Merge "Explicitly set default notifier strategy" into stable/havana
Release 3.1.0

Updated Modulefile and README.md for 3.1.0 release.

Change-Id: I4bcdc495adc27dc683cc1025a36fc4483108117a
Add parameter qpid_protocol to notify::qpid so ssl can be enabled.

Bug: #1251050
Change-Id: Ibc3b5e19b2543ff33366f305e7b9cef61dddf2f1

Conflicts:
	manifests/notify/qpid.pp
Using contain_class instead of include_class

Per rspec-puppet-1.0.1 warning:

DEPRECATION: include_class is deprecated. Use contain_class instead.
Called from .../vendor/gems/rspec-puppet-1.0.1/lib/rspec-puppet/
matchers/include_class.rb:7

Change-Id: I3cf9ac1ff9549b5bb1182010d42e3beee1efa4cc
Add Gemfile.lock to gitignore

Change-Id: I64f60cdbb9033f741e3b56b824adba9a9e112002
Make sure swift backend in-file documentation matches actual code.

Simply making sure that the in-file documentation matches the
manifest to avoid any confusion.

Change-Id: I0b890f575ec1c33dbd515d2454023bfa3ade041b
Add ability to purge config

This patch adds paramters to the api and registry
classes that allows the respective config files to
be purged.

This is needed when running in a configuration that
is contrary to the defaults for the platform packager,
such as rabbitmq on RDO

Change-Id: I9f8664b2098bd41b9a98eac095bfec8493ed1254

Conflicts:
	manifests/api.pp
	manifests/registry.pp
	spec/classes/glance_api_spec.rb
set ssl options for glance-api

lets you set the ssl cert, key, ca for secure api
connection.

Change-Id: Ie82a46eeca27897363273aab5e58fcf6f6fe1ae0
backport: havana

Conflicts:
	manifests/api.pp
	spec/classes/glance_api_spec.rb
set ssl options for glance-registry

lets you set the ssl cert, key, ca for secure registry
connection.

Change-Id: Ic0ab88ef14ea61fd42b2bc1811ca1b5a4180b4a4
backport: havana

Conflicts:
	manifests/registry.pp
Add support for puppetlabs-mysql 2.2

Puppetlabs-mysql has been rewritten to be much
cleaner. This patch adds a new parameter for the
glance mysql class allowing users to use the new
version. Previous behavior will continue as normal
when using the old version (0.9)

Change-Id: Icdc787e325f3e86572f6930f1ab8c3d5291e67c9
Update glance_image provider with API v2

Some arguments are deprecated in API v2.
This patch aims to update glance_image provider to fit with the
OpenStack Images API v2.0 (latest stable).

Note: Glance API v2 is by default from OpenStack Folsom release.

Change-Id: Ic06a839324aa0a6e11b16a13ad8927a1da6e13e4
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
Added copy-on-write cloning of images to volumes.

This enables COW cloning of images into rbd-backed Cinder volumes.

Change-Id: Ibb114c90f2d5a2d258b25155cc800ab7ce77adfc
Change mysql default charset to utf8

Changed the default charset to uf8 and the
collation to utf8_unicode_ci.

Change-Id: Iac22a6f66e889157bd1f327da50e0186e04651dc
deprecate show_image_direct_url in glance::rbd

show_image_direct_url conflicts with same parameter
in glance::api.

Change-Id: I65a4158bcb271324f8ca40a454d21b167c4f5151
Add known_stores option in class glance::api

In glance-api, if you use known_stores's default value and didn't use
all of the stores listed in known_stores, then glance-api service will
throw an error to point out which store missing, see more description
in related bug link.
This patchset adds known_stores option in glance::api, so that users
can configure it by their own needs.

Change-Id: If08254f419d182b82cc50137383985834f40a6fd
Closes-bug: #1259403
support separate registry/api packages

on Debian plattforms there are separate packages
for glance registry and glance api. This allows
you to install api/registry on different servers.

If the packages for registry and api are the same,
(as it is the case for RedHat plattform)
the package is installed in ::glance class.
If the packages differs (as for Debian plattform),
installation of packages is done in
registry/api classes.

Additionaly this patch adds a test for unsupported
plattforms.

Change-Id: I8d4b74e8c8ad2dd7e6e2ad175326f36ff818c108
add kombu_ssl parameters to notify::rabbitmq

This adds the following parameters:
  * kombu_ssl_ca_certs
  * kombu_ssl_certfile
  * kombu_ssl_keyfile
  * kombu_ssl_version
these are necessary to establish a secure ssl
connection to rabbitmq.

Change-Id: Ia9ea7cf44664f71a4fb5cc76e3474aa54a9bb30d
fix rspec tests in backend::rbd and notify::qpid

The tests in the second part of the file have never
been executed.
Also fixed typo's in notify:qpid which did not result in
errors, since the tests where not executed.

Closes-bug: #1301001

Change-Id: I97f3ee9f2d4073a218cc3866dc24701c99254757

Conflicts:
	spec/classes/glance_notify_qpid_spec.rb