summaryrefslogtreecommitdiff
path: root/lib/chef/resource/homebrew_package.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/homebrew_package.rb')
-rw-r--r--lib/chef/resource/homebrew_package.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/homebrew_package.rb b/lib/chef/resource/homebrew_package.rb
index e1d50c1739..952552e3a8 100644
--- a/lib/chef/resource/homebrew_package.rb
+++ b/lib/chef/resource/homebrew_package.rb
@@ -25,10 +25,11 @@ class Chef
class Resource
class HomebrewPackage < Chef::Resource::Package
+ provides :homebrew_package, os: "mac_os_x"
+
def initialize(name, run_context=nil)
super
@resource_name = :homebrew_package
- @provider = Chef::Provider::Package::Homebrew
@homebrew_user = nil
end