summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-01-02 10:45:24 -0800
committerTim Smith <tsmith@chef.io>2018-01-02 10:45:24 -0800
commit94d416d19e7758556f864c626b193d9765a223b8 (patch)
treed275875ca2ac4eeeb8dad6cb78752948f3d2850e
parent1473703b3490091052f1f9d76c1e564a1d055d03 (diff)
downloadchef-94d416d19e7758556f864c626b193d9765a223b8.tar.gz
Set smartos_package back to platform_familysimplify_provides
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 <tsmith@chef.io>
-rw-r--r--lib/chef/provider/package/smartos.rb4
1 files 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")