From 94d416d19e7758556f864c626b193d9765a223b8 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 2 Jan 2018 10:45:24 -0800 Subject: Set smartos_package back to platform_family It's the same thing and our tests are constructed in a way that platform_family is necessary here. It's not worth unravelling that to use platform here Signed-off-by: Tim Smith --- lib/chef/provider/package/smartos.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chef/provider/package/smartos.rb b/lib/chef/provider/package/smartos.rb index 3190421c8f..66d23554df 100644 --- a/lib/chef/provider/package/smartos.rb +++ b/lib/chef/provider/package/smartos.rb @@ -3,7 +3,7 @@ # Bryan McLellan (btm@loftninjas.org) # Matthew Landauer (matthew@openaustralia.org) # Ben Rockwood (benr@joyent.com) -# Copyright:: Copyright 2009-2016, Bryan McLellan, Matthew Landauer +# Copyright:: Copyright 2009-2018, Bryan McLellan, Matthew Landauer # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -30,7 +30,7 @@ class Chef attr_accessor :is_virtual_package provides :package, platform: "smartos" - provides :smartos_package, platform: "smartos" + provides :smartos_package, platform_family: "smartos" def load_current_resource Chef::Log.debug("#{new_resource} loading current resource") -- cgit v1.2.1