Pin rabbit and mysql to major version for fixtures

Previously, unit tests were using master for testing.

This commit changes them to use the newly created major version
branches. This allows us to backport bug fixes while we wait for
upstream to stabilize.

Change-Id: I1b476a99e3fc5a5624cc7ebe7c776e3e9058ec3b
Add glance-cache-cleaner and glance-cache-pruner

* glance::cache::cleaner: Installs a cron job to remove stalled and
  invalid cached images.
* glance::cache::pruner: Installs a cron job to keep the image cache
  at or below the maximum cache size.

Change-Id: I99cb1809446f1a1126454ff5fa5bdceb8044ee28
Remove --silient-upload option, which is invalid

Python-glanceclient removed the --silent-upload some time ago (I
believe when the client was split out from Glance itself).  It's no
longer valid and needs to be removed.  Otherwise users will see
an error of the form:

glance: error: unrecognized arguments: --silent-upload

Change-Id: I417688872bd8e7c4bac7be13d0b0eb13a030fe29
Update allowed_hosts conditional statement

In the origin glance::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 glance::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
glance::db::mysql::host_access

Fix bug 1206444

Change-Id: Ic70aaaec493195c7277782abb87469f9809e5baa
Merge "Update allowed_hosts conditional statement"
Merge "Add glance-cache-cleaner and glance-cache-pruner"
Fix the glance_image type example so that it can actually be used.

Change-Id: I10dd74f4ed38f33e344cdd96d0c763fb9b97ac1a
Update modulefile and fixtures to use puppetlabs/inifile

cprice404/inifile was moved to the puppetlabs namespace on the forge
and github.

Change-Id: I6100bafa67ad5a1cb747712622d584aed8066fe4
Fix lint failures

This commit fixes the lint failures from
the glance module.

It's pretty picky about classes being defined
anywhere (even in tests)

This commit removes the class from the tests so
that puppet-lint is happy.

Change-Id: I0257479fb450ed2fbb6876fb73fc695e4a1f7c49
Puppet Forge release 2.1.0

Updated README.md for Puppet Forge release.
Updated Modulefile for Puppet Forge release.

Change-Id: I35bef63352419a4596b0f877f86b911cb4a4bd4b