[openstack-dev] [puppet] how to run rspec tests? r10k issue

Alex Schultz aschultz at mirantis.com
Thu Feb 18 23:57:58 UTC 2016

On Thu, Feb 18, 2016 at 3:26 PM, Matt Fischer <matt at mattfischer.com> wrote:

> Is anyone able to share the secret of running spec tests since the r10k
> transition? bundle install && bundle exec rake spec have issues because
> r10k is not being installed. Since I'm not the only one hopefully this
> question will help others.
> +
> PUPPETFILE=/etc/puppet/modules/keystone/openstack/puppet-openstack-integration/Puppetfile
> + /var/lib/gems/1.9.1/bin/r10k puppetfile install -v
> /etc/puppet/modules/keystone/openstack/puppet-openstack-integration/functions:
> line 51: /var/lib/gems/1.9.1/bin/r10k: No such file or directory
> rake aborted!

I assume you were trying to run the tests on the keystone module so it
should have been installed with the bundle install as it is listed in the
Gemfile[0].  Are you sure your module is up to date?


[0] https://github.com/openstack/puppet-keystone/blob/master/Gemfile#L26

> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160218/15d64cb3/attachment.html>

More information about the OpenStack-dev mailing list