Vagrant with Shared Folder for rspec-puppet

26 views
Skip to first unread message

Julian Meier

unread,
Aug 25, 2015, 9:49:50 AM8/25/15
to puppet...@googlegroups.com
Hi!

I'm working on several puppet modules and try to run the rspec tests in
a vagrant vm (virtualbox). The module directory is mounted to the vm in
/vagrant.
Normally rspec-puppet seems to create a symlink in spec/fixtures/modules
to the module directory. This symlink doesn't work on the virtualbox
shared folder.

My workaround in .fixtures.yml is:
```
fixtures:
repositories:
mymodule: "file://#{source_dir}"
```

Is this workaround okay or do you have a better solution?

Thanks, Julian
Reply all
Reply to author
Forward
0 new messages