8 Commits

Author SHA1 Message Date
Gael Chamoulaud
da26542fbb Fix unit tests against Puppet 4.3.0
Related-bug: #1517805
Change-Id: I19e891ecce2bceb20e141199e14333f01b0ec9ab
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-11-24 10:05:01 +01:00
Mykyta Karpin
acd95e6a3a Add support of os_service_default fact in glance spec
This change adds possibility to use the os_service_default
   fact for configuration options that default to '<SERVICE DEFAULT>'.
   this change is done by analogy with cinder
   commit 667e6c0850672dbbf99381eb92468f95e5591913

Change-Id: Ie5c8909bcc1c9a6a7a9ab1b59eec4637751ffd74
2015-11-20 12:53:35 +00:00
Sebastien Badia
dbe297b056 spec: updates for rspec-puppet 2.x and rspec 3.x
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: Ibd0333dc3c0959e846edfbad51fb48e8dfb8fbe9
Card: https://trello.com/c/eHXc1Ryd/4-investigate-the-necessary-change-to-be-rspec-puppet-2-0-0-compliant
2015-02-25 05:37:44 +01:00
Matt Fischer
cbf3326184 Add openstack tag to glance packages
Change-Id: Ifbc41027c11f62342397d7e60e71080336c3418e
Partial-Bug: #1391209
2015-02-05 15:20:18 +00:00
Doug Schaapveld
2208119f8d 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
2013-12-17 21:59:44 -06:00
Dan Bode
53d2b7eeb6 glance::client was not installing the correct package
The actually glance executable is not installed as a part
of the python-glance package, it is installed in the
python-glanceclient pakcage.

Going through the RDO packages, I do not even see a package
called python-glance.

Change-Id: I35c71fc5da595a695b10cb2ecc5ad27f5131bac8
2013-06-20 10:22:27 -07:00
Mathieu Gagné
1028e92f81 Add missing glance::params include in client
Change-Id: Ia5f99939f10a78033b743aca4a289b1e8d314e02
2013-06-05 13:19:54 -04:00
John Chilton
7f08fd4207 Create configuration class for glance client, mirroring puppetlabs nova::client to some degree. 2012-05-03 10:24:41 -05:00