summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-03-29 16:56:34 -0700
committerGitHub <noreply@github.com>2018-03-29 16:56:34 -0700
commit95160654e437f5ec61a8ed351b181f16c5df615a (patch)
treeca8fd0c5c7ea8e5cdc2de98a6607b4653014c858
parent136c246e050b7676dbf061aa22dabe0c6fdc76a1 (diff)
parente2a77627155127d98c1795255f33ffdd748b8944 (diff)
downloadchef-95160654e437f5ec61a8ed351b181f16c5df615a.tar.gz
Merge pull request #7097 from chef/homebrew_mixin
homebrew_tap / homebrew_cask: Fix compile time errors with the user mixin
-rw-r--r--lib/chef/resource/homebrew_cask.rb2
-rw-r--r--lib/chef/resource/homebrew_tap.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/homebrew_cask.rb b/lib/chef/resource/homebrew_cask.rb
index d10ecb04c9..4fde7da4c0 100644
--- a/lib/chef/resource/homebrew_cask.rb
+++ b/lib/chef/resource/homebrew_cask.rb
@@ -48,7 +48,7 @@ class Chef
property :owner, String,
description: "The owner of the homebrew installation.",
- default: lazy { Chef::Mixin::HomebrewUser.find_homebrew_username }
+ default: lazy { find_homebrew_username }
action :install do
description "Install an application packaged as a Homebrew cask."
diff --git a/lib/chef/resource/homebrew_tap.rb b/lib/chef/resource/homebrew_tap.rb
index 8ce72e0861..bf1f34d687 100644
--- a/lib/chef/resource/homebrew_tap.rb
+++ b/lib/chef/resource/homebrew_tap.rb
@@ -49,7 +49,7 @@ class Chef
property :owner, String,
description: "The owner of the homebrew installation",
- default: lazy { Chef::Mixin::HomebrewUser.find_homebrew_username }
+ default: lazy { find_homebrew_username }
action :tap do
description "Add a Homebrew tap."