From 1bd3e1f633f11a9ecbf054b04279d1e011a80338 Mon Sep 17 00:00:00 2001 From: Sylvain Tissot Date: Sat, 21 Sep 2013 16:42:23 -0400 Subject: [PATCH] [COOK-3589] Set homebrew as the default package manager on OS X Server Signed-off-by: Seth Vargo --- libraries/homebrew_package.rb | 3 ++- metadata.rb | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/homebrew_package.rb b/libraries/homebrew_package.rb index b46bed8..f41e223 100644 --- a/libraries/homebrew_package.rb +++ b/libraries/homebrew_package.rb @@ -100,4 +100,5 @@ def get_response_from_command(command) end end -Chef::Platform.set :platform => :mac_os_x, :resource => :package, :provider => Chef::Provider::Package::Homebrew +Chef::Platform.set :platform => :mac_os_x_server, :resource => :package, :provider => Chef::Provider::Package::Homebrew +Chef::Platform.set :platform => :mac_os_x, :resource => :package, :provider => Chef::Provider::Package::Homebrew \ No newline at end of file diff --git a/metadata.rb b/metadata.rb index 3d98a43..4085f98 100644 --- a/metadata.rb +++ b/metadata.rb @@ -7,3 +7,4 @@ version "1.4.1" recipe "homebrew", "Install Homebrew" supports "mac_os_x" +supports "mac_os_x_server"