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

Fix copy of hiera data files #144

Merged
merged 1 commit into from
Nov 3, 2016

Conversation

nicolasvan
Copy link
Contributor

I believe this code is redundant...

On windows, hiera data files end up being copied to C:/var/lib/ instead of C:/var/lib/hiera when hiera_data_remote_path is set to /var/lib/hiera. (I suspect because C:/var/lib/hiera does not exist by default)

With this change, the C:/var/lib/hiera folder is created before the copy and files do end up being copied to C:/var/lib/hiera.

Not sure why there is special logic that skip creating /var/lib/hiera in the first place?

It also ends up copying hiera data files to C:/var/lib/ instead of C:/var/lib/hiera on windows...
@neillturner
Copy link
Owner

thanks for this. i will merge, test and release shortly.

@neillturner neillturner merged commit 53e79c8 into neillturner:master Nov 3, 2016
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

Successfully merging this pull request may close these issues.

2 participants