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

unTar(): error while creating symlink ... file exists #149

Closed
maxadamo opened this issue Sep 22, 2019 · 3 comments
Closed

unTar(): error while creating symlink ... file exists #149

maxadamo opened this issue Sep 22, 2019 · 3 comments

Comments

@maxadamo
Copy link

maxadamo commented Sep 22, 2019

hello @xorpaul

it was a while since I didn't not update g10k, then I jumped from version 0.6.1 to verions 0.8.1 (and then 0.8.2, without solving the issue) and g10k started throwing the following error:

unTar(): error while creating symlink modules/hieradata/hostgroups/kube-control.yaml pointing to kube-master.yaml Error: symlink kube-master.yaml modules/hieradata/hostgroups/kube-control.yaml: file exists

It throws the error, always on this same file: kube-control.yaml, and on both puppet servers (I have two puppet servers).
To clean the error I had to delete all the file and run g10k again.
To solve the problem I had to roll-back to a working version (for me it's 0.6.1)

Now, I am trying a git diff between tags, to ensure that you're not doing anything around the word "control"

@xorpaul
Copy link
Owner

xorpaul commented Sep 23, 2019

Is kube-control.yaml a simple symlink inside a Puppetfile managed module, yes?

@maxadamo
Copy link
Author

maxadamo commented Sep 23, 2019

yes (I have 70 symlinks in hiera). If I purge all the files, it keeps working for a couple of commits, then it errors again.

@maxadamo
Copy link
Author

I can't imagine what it can be wrong with the name, but perhaps you can create a file called kube-master.yaml, and a symlink called kube-control.yaml pointing to kube-master.yaml.

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

2 participants