summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Weyer <v-jaredweyer@microsoft.com>2021-12-27 16:10:43 -0800
committerJared Weyer <v-jaredweyer@microsoft.com>2021-12-28 09:07:23 -0800
commit6255b8042e95405d32981dd987d9865d62d8344e (patch)
tree6acf4ae2eb121f0b87d1895f7246600632f628aa
parent50a0001bae754c66feb69c84b64cb305a03a34d2 (diff)
downloadchef-6255b8042e95405d32981dd987d9865d62d8344e.tar.gz
The tap action was trying to use the full property which was removed previously. This was resulting in a 'no method error'. This commit removes the attempt to access the nonexistant property
Signed-off-by: Jared Weyer <v-jaredweyer@microsoft.com>
-rw-r--r--lib/chef/resource/homebrew_tap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/homebrew_tap.rb b/lib/chef/resource/homebrew_tap.rb
index b728d447c8..a150210951 100644
--- a/lib/chef/resource/homebrew_tap.rb
+++ b/lib/chef/resource/homebrew_tap.rb
@@ -53,7 +53,7 @@ class Chef
action :tap, description: "Add a Homebrew tap." do
unless tapped?(new_resource.tap_name)
converge_by("tap #{new_resource.tap_name}") do
- shell_out!("#{new_resource.homebrew_path} tap #{new_resource.full ? "--full" : ""} #{new_resource.tap_name} #{new_resource.url || ""}",
+ shell_out!("#{new_resource.homebrew_path} tap #{new_resource.tap_name} #{new_resource.url || ""}",
user: new_resource.owner,
env: { "HOME" => ::Dir.home(new_resource.owner), "USER" => new_resource.owner },
cwd: ::Dir.home(new_resource.owner))