image: Refactor unit test to reflect recent split

Split image into image::api and image::registry in the test to
reflect recent changes.
telemetry: Refactor unit test to reflect recent split

Split telemtry classes into telemetry::* in the test to
reflect recent changes.
compute: Refactor unit test to reflect recent split

Split compute classes into compute::* in the test to
reflect recent changes.
mysql.conf: ensure InnoDB & UTF8

All databases should be UTF8 and InnoDB in Icehouse release. This commit
aims to configure MySQL having these values.
If we don't explicitly set the values, some OpenStack components would
fail to migrate databases (Neutron for example).
Merge pull request #472 from enovance/split_unit_tests

Split unit tests
Merge pull request #473 from enovance/mysql-utf8

WIP mysql.conf: ensure InnoDB & UTF8
identity: flush tokens every days at midnight

Install a crontab to flush expired keystone tokens every days at
midnight.
The reason is that we are using MySQL backend for token storage and when
having a big deployment, Database could grow faster than we expect.

While we find another backend for Keystone which scale, let's create a
crontab which will avoid a lot of issues in production :-)
Merge pull request #474 from enovance/flush-tokens

identity: flush tokens every days at midnight
Remove useless class definition

Remove useless class definition (swift::storage::account, swift::storage::container,
swift::storage::object) as they are already defined in swift::storage::server.

https://github.com/stackforge/puppet-swift/blob/master/manifests/storage/server.pp#L37
Refactor common lines
Remove ssh::server::install from puppet-openstack-cloud

Since ssh::server::install is already installed by the swift module
there is no need to have it declared here also.
Merge pull request #475 from enovance/clean_swift_manifests

Clean swift manifests
cinder/rbd: configure volume_tmp_dir to /tmp

Set default temporary volume directory in rbd driver to /tmp, otherwise
we can hit some bugs in Cinder where it would be not possible to copy a
volume to an image.

https://bugs.launchpad.net/cinder/+bug/1288240

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
Allow dynamic configuration for devices and filesystems

* Edit .fixtures.yml to add ssh and rsync dependency
* Created the cloud_objectstorage_stroage_spec.rb
Merge pull request #476 from enovance/dynamic_fs_type

Allow dynamic configuration for devices and filesystems
Refactor ringbuilder

Refactor rinbuilder to map swift::ringbuilder and swift::ringserver

https://github.com/enovance/puppet-openstack-cloud/blob/master/manifests/object/ringbuilder.pp#L31-L49
is the exact same content as swift::ringbuilder

https://github.com/enovance/puppet-openstack-cloud/blob/master/manifests/object/ringbuilder.pp#L51-L69
is the exact same content as swift::ringserver
Merge pull request #477 from enovance/consolidate_ringbuilder

Refactor ringbuilder
Merge pull request #478 from enovance/volume_tmp_dir

cinder/rbd: configure volume_tmp_dir to /tmp
neutron: change default credentials for nova notifications

By default, we should use "admin" tenant to get an admin token and make
the VM connectivity working in Nova.

Using Nova user will fail since Nova (services tenant) can't get an
admin token.
Use ensure_resource instead of create_resources

create_resources doesn't allow to pass array of values but a hash.
Which prevent it from working as we expect.