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
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
* add log_dir param (and configure it to /var/log/glance) by default.
* fix log_file missing setting on glance::registry
* allow users to disable log_dir and log_file with « false » argument.
Change-Id: I0689fa15199e69cf16ff306050776d150365a09c
Closes-bug: #1282296
Currently, the default auth tenant and user for
glance are set to admin. This is not only
inconsistent with the rest of the modules (where
the tenant defaults to services and the user defaults
to the name of the service: ie: glance), it
is also inconsistent with the glance::keystone::auth
class.
This patch changes the defaults to services and glance
for both the api and registry service.
Change-Id: I3bd6390183c88213ec4bc289ca6be6f2d9c8bdd2
Blank keystone flavor now allowed in api.pp and registry.pp
Pipeline config logically separate from keystone config (pipeline can
be set even if auth_type is not defined.)
Added rspec tests.
Change-Id: Ic4fbff44242459f504cd14ef18915b2efac2d032
Fixes: bug #1190475
Some users may want to pass in one of
keystone, keystone+caching or keystone+cachemanagement
depending on their caching needs
Change-Id: Ia13cc2f1d8ec43074b114edf1b2366b85ca77aa0
This commit removes the auth_url class param
I search of glance's source code indicates that this
parameter is not used anywhere except by something in the
tools directory.
This commit adds the parameter enabled to both glance::api
as well as glance::registry.
Setting enabled to false ensures that the service is not running
and that the db schema is not create/migrated.
This flag is being added to all nova services to allow the deployment
of the openstack controller in active-passive for HA.
using RI's version of the concat module.
It introduces a custom fact concat_basedir that can determine
where the vardir is for a particular agent.
This commits adds that fact to unit tests that are validating
the resuling fragment files.
I had previously checked in some broken tests that
resulted from the updating the concat fragments names
to ensure uniqueness between services (eg, choosing
fragment names like HEADER were causing
duplicate resource errors, these have been prefixed
with the service name glance-api to ensure uniqueness)
This commit updates the tests so that they work for
this previous commit (oops!)
This commit resolves failing tests from
glance::api and glance::registry related to recent
refactors.
It also adds tests for all of the new api fragment
classes/defines.
This code cleanup simplifies one the tests by merging the
specified params over the defaults instead of returning either
the defaults or the specified params.