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 databag globbing issues for chef-solo on windows #4569

Merged
merged 3 commits into from
Feb 17, 2016
Merged

Fix databag globbing issues for chef-solo on windows #4569

merged 3 commits into from
Feb 17, 2016

Conversation

jaym
Copy link
Contributor

@jaym jaym commented Feb 12, 2016

Backslashes should not be passed to Dir, as it does not work
when globbing in many cases.

Created new function that can be used with dir on windows.
escape_glob_dir should be used when the result is going
to be passed into Dir.

Fixes #4194
Replaces #4195

@thommay
Copy link
Contributor

thommay commented Feb 16, 2016

Looks like there's a spec failure on windows and then chefstyle updates, but please let's get this merged! :)

@thommay
Copy link
Contributor

thommay commented Feb 16, 2016

@lamont-granquist and I have already 👍 the original, so I think you can merge as soon as the above are happy

@lamont-granquist
Copy link
Contributor

@jaym it looks to me like the code is correct, but your spec is testing the wrong behavior. if you just fix the spec you can merge. 👍

youngjl1 and others added 3 commits February 16, 2016 19:07
Backslashes should not be passed to Dir, as it does not work
when globbing in many cases.

Created new function that can be used with dir on windows.
`escape_glob_dir` should be used when the result is going
to be passed into Dir.

Fixes #4194
Replaces #4195
This was testing `escape_glob` behavior.
Probably a copy-pasta mistake
jaym added a commit that referenced this pull request Feb 17, 2016
Fix databag globbing issues for chef-solo on windows
@jaym jaym merged commit e48aee5 into master Feb 17, 2016
@jaym jaym deleted the jdm/4915 branch February 17, 2016 03:55
@thommay thommay mentioned this pull request Feb 17, 2016
@mwrock mwrock added the Bug label Mar 2, 2016
@thommay thommay added Type: Bug Does not work as expected. and removed Bug labels Jan 25, 2017
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug Does not work as expected.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants