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

Matt Fischer matt at mattfischer.com
Fri Feb 19 01:48:34 UTC 2016


I ended up symlinking the r10k binary I have installed to the place it
wants it to be and it worked. I do have that in my Gemfile. Question is,
can we make this work without manual steps?

On Thu, Feb 18, 2016 at 4:57 PM, Alex Schultz <aschultz at mirantis.com> wrote:

>
>
> 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?
>
> -Alex
>
> [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
>>
>>
>
> __________________________________________________________________________
> 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/1eee3987/attachment.html>


More information about the OpenStack-dev mailing list