diff options
author | John Kerry <john@kerryhouse.net> | 2016-11-09 04:25:11 -0500 |
---|---|---|
committer | Thom May <thom@may.lt> | 2016-11-09 09:25:11 +0000 |
commit | 94ebcc4b16d8ce554db8cb18a37dfce3436d12b0 (patch) | |
tree | e3407e66ef9ea62e4066b99a2f81e24dc58dd19f /distro | |
parent | 975d1e68ddf8fd4103e79aa0b8d08aef9560deee (diff) | |
download | chef-94ebcc4b16d8ce554db8cb18a37dfce3436d12b0.tar.gz |
Windows: search for config on same drive as executable location (#5478)
* changing the default drive for the config file to be the drive that the executable is launched from. This should allow for an easier launch of chef from a d: drive installation
Signed-off-by: John Kerry <john@kerryhouse.net>
* adding a check and a fallback to systemdrive for the base path when __FILE__ path doesn't have a drive (appears with linux hosts running windows targeted unit tests)
Signed-off-by: John Kerry <john@kerryhouse.net>
* fixing rubocop errors
Signed-off-by: John Kerry <john@kerryhouse.net>
* adding a __FILE__ path override for cache_path tests
Signed-off-by: John Kerry <john@kerryhouse.net>
Diffstat (limited to 'distro')
0 files changed, 0 insertions, 0 deletions