Skip to content

Commit

Permalink
Avoid creating broken link on windows
Browse files Browse the repository at this point in the history
Change-Id: I45ae9496ab01f2430d056af9b084d0c9e7a91564
  • Loading branch information
kamaradclimber committed Oct 7, 2016
1 parent d60cc91 commit 7a752b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/consul_installation_binary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def action_create

link '/usr/local/bin/consul' do
to ::File.join(options[:extract_to], new_resource.version, 'consul')
not_if { node['os'] == 'windows' }
end
end
end
Expand Down

0 comments on commit 7a752b8

Please sign in to comment.