Skip to content

Commit

Permalink
UI path is a directroy. Fix sous-chefs#133
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumit Vij committed Feb 18, 2015
1 parent db93cb6 commit 27ee6b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/ui.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@
end

# JW TODO: Remove after next major release.
file Chef::ConsulUI.active_path(node) do
directory Chef::ConsulUI.active_path(node) do
action :delete
recursive true
not_if "test -L #{Chef::ConsulUI.active_path(node)}"
end

Expand Down

0 comments on commit 27ee6b5

Please sign in to comment.