bundle exec rake spec fails to find r10k - tests wont run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-keystone |
Confirmed
|
High
|
Unassigned |
Bug Description
I have a pretty plain Ubuntu 14.04 box and I usually just install the needed bundles and then exec the spec tests. This broke when r10k came along.
The issue is that r10k is not being installed where the script hard-codes to look:
/etc/puppet/
...
Installing semantic_puppet (0.1.1)
Installing puppet_forge (2.1.3)
Installing rspec-puppet (2.2.0)
Installing puppetlabs_
Installing r10k (2.1.1)
Installing rspec-puppet-facts (1.4.1)
Installing webmock (1.24.1)
Using bundler (1.3.5)
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
[DEV] root@dev02-
rm -rf openstack/
git clone https:/
Cloning into 'openstack/
remote: Counting objects: 700, done.
remote: Compressing objects: 100% (469/469), done.
remote: Total 700 (delta 418), reused 451 (delta 207)
Receiving objects: 100% (700/700), 126.54 KiB | 0 bytes/s, done.
Resolving deltas: 100% (418/418), done.
Checking connectivity... done.
env PUPPETFILE_
+ '[' '!' -z /var/lib/gems/1.9.1 ']'
+ GEM_BIN_
+++ dirname openstack/
++ cd openstack/
++ pwd -P
+ export SCRIPT_
+ SCRIPT_
+ export PUPPETFILE_
+ PUPPETFILE_
+ source /etc/puppet/
+ install_modules
+ '[' -e /usr/zuul-
+ install_all
+ PUPPETFILE=
+ /var/lib/
/etc/puppet/
rake aborted!
Command failed with status (1): [env PUPPETFILE_
/etc/puppet/
/var/lib/
Tasks: TOP => spec_prep
(See full trace by running task with --trace)
[DEV] root@dev02-
total 44
drwxr-xr-x 7 root root 4096 Feb 23 15:28 .
drwxr-xr-x 4 root root 4096 Feb 23 15:28 ..
drwxr-xr-x 3 root root 4096 Feb 23 15:28 bundler
drwxr-xr-x 3 root root 12288 Feb 23 15:31 cache
drwxr-xr-x 2 root root 4096 Feb 15 02:32 doc
drwxr-xr-x 137 root root 4096 Feb 23 15:31 gems
drwxr-xr-x 2 root root 12288 Feb 23 15:31 specifications
[DEV] root@dev02-
Changed in puppet-keystone: | |
importance: | Undecided → High |
status: | New → Confirmed |