Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate_fixtures does not create symlinks properly #277

Open
rnelson0 opened this issue Aug 17, 2020 · 0 comments
Open

generate_fixtures does not create symlinks properly #277

rnelson0 opened this issue Aug 17, 2020 · 0 comments

Comments

@rnelson0
Copy link
Sponsor Member

When running generate_fixtures rake task, the .fixtures.yml for modules in the repo is incorrect.

Output:

fixtures:
   symlinks:
    profiles: site-modules/profiles

This resulted in a symlink that pointed to itself (some output trimmed):

C:\Users\rnelson\git\puppet> ls -l .\spec\fixtures\modules\
l----           8/17/2020  2:22 PM                profiles -> C:\Users\rnelson\git\puppet\spec\fixtures\modules\site-modules\profiles

I expected the following fixtures and symlink:

fixtures:
  symlinks:
    profiles: "#{source_dir}/site-modules/profiles"

l----           8/17/2020  2:25 PM                profiles -> C:\Users\rnelson\git\puppet\site-modules\profiles

The relative symlink created by using #{source_dir} does work properly.

I am using onceover via pdk (pdk bundle exec rake generate_fixtures) and on a Windows 10 machine. If necessary I can provide more output as needed using my ref 69e9a64743221a7a82965b4d305cc979db13a2f7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant