sous-chefs / consul

Development repository for the consul cookbook
https://supermarket.chef.io/cookbooks/consul
Apache License 2.0
192 stars 244 forks source link

Windows executable symlink #460

Closed gdavison closed 6 years ago

gdavison commented 7 years ago

Creates a symlink to the current Consul version at C:\Program Files\consul\consul.exe

Addresses #451

legal90 commented 7 years ago

@gdavison, Thank you for this Pull-Request! 👍 As I see, windows_path is a pretty new resource, available only in Chef Client v13.4 and later. Do you know - is there any other way to do the same on the earlier version of Chef Client?

gdavison commented 7 years ago

@legal90 The windows_path function was previously provided by the windows cookbook, then added to core Chef in v13.4. https://github.com/chef-cookbooks/windows#deprecated-resources-note

I'm going to update the cookbook code and explicitly include the windows cookbook as a dependency.

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.