From be4773ee935a2fbbbf342eeb55f1ee7e88913b3d Mon Sep 17 00:00:00 2001 From: Sumit Vij Date: Tue, 17 Feb 2015 17:40:44 -0800 Subject: [PATCH] UI path is a directory. Fix #133 --- recipes/ui.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/ui.rb b/recipes/ui.rb index e478e382..6be1fef0 100644 --- a/recipes/ui.rb +++ b/recipes/ui.rb @@ -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