From ed1d4cdbfe3dacef99060961cba014df8e066a63 Mon Sep 17 00:00:00 2001 From: Pat Cox Date: Wed, 7 Jan 2015 10:39:41 -0800 Subject: remove filter altogether, as per code review --- lib/chef/provider/package/macports.rb | 2 +- lib/chef/resource/macports_package.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/chef/provider/package/macports.rb b/lib/chef/provider/package/macports.rb index 33b3cf5ba8..2f15d4c277 100644 --- a/lib/chef/provider/package/macports.rb +++ b/lib/chef/provider/package/macports.rb @@ -3,7 +3,7 @@ class Chef class Package class Macports < Chef::Provider::Package - provides :macports_package, os: "darwin" + provides :macports_package def load_current_resource @current_resource = Chef::Resource::Package.new(@new_resource.name) diff --git a/lib/chef/resource/macports_package.rb b/lib/chef/resource/macports_package.rb index 38d63f5eb8..71d28b89be 100644 --- a/lib/chef/resource/macports_package.rb +++ b/lib/chef/resource/macports_package.rb @@ -20,7 +20,7 @@ class Chef class Resource class MacportsPackage < Chef::Resource::Package - provides :macports_package, os: "darwin" + provides :macports_package def initialize(name, run_context=nil) super -- cgit v1.2.1