summaryrefslogtreecommitdiff
path: root/lib/chef/resource/ips_package.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/ips_package.rb')
-rw-r--r--lib/chef/resource/ips_package.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/chef/resource/ips_package.rb b/lib/chef/resource/ips_package.rb
index 88c6e9a538..77b3387946 100644
--- a/lib/chef/resource/ips_package.rb
+++ b/lib/chef/resource/ips_package.rb
@@ -22,10 +22,12 @@ require 'chef/provider/package/ips'
class Chef
class Resource
class IpsPackage < ::Chef::Resource::Package
+
+ provides :ips_package, os: "solaris2"
+
def initialize(name, run_context = nil)
super(name, run_context)
@resource_name = :ips_package
- @provider = Chef::Provider::Package::Ips
@allowed_actions = [ :install, :remove, :upgrade ]
@accept_license = false
end