adding backup_compression_algorithm to the swift.pp file
to allow users to modify the setting via puppet
Change-Id: Ieb10bb97a3aa7fa502b31e0898fc538e9dee1cf7
This patch aim to update our specs test in order to work with the
rspec-puppet release 2.0.0, in the mean time, we update rspec syntax
in order to be prepared for rspec 3.x move.
In details:
* Use shared_examples "a Puppet::Error" for puppet::error tests
* Convert 'should' keyword to 'is_expected.to' (prepare rspec 3.x)
* Fix spec tests for rspec-puppet 2.0.0
* Upgrade and pin rspec-puppet from 1.0.1 to 2.0.0
* Clean Gemfile (remove over-specificication of runtime deps of puppetlabs_spec_helper)
Change-Id: Id5b428fb518f40cf92cd27078d36f19b6d60226b
Card: https://trello.com/c/eHXc1Ryd/4-investigate-the-necessary-change-to-be-rspec-puppet-2-0-0-compliant
In my last commit on Cinder module, I add cinder::backup::swift
without adding cinder::backup class which is useful to ensure that
package is installed and service is running.
It also includes variables related to backup configuration.
Note: swift is one of the drivers of backup in Cinder, other ones should
be included in manifests/backup/<driver>.pp
Change-Id: I1a55245abe61f9bbd71568d76ed00e0ecf08307e
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
Cinder can backup volumes in different backends.
Swift will be the first one supported by puppet-cinder.
New class: cinder::backup::swift
Change-Id: Iec0a48681da8fd987955cabae49d411ede1e255e
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>