diff options
author | Thom May <thom@may.lt> | 2015-11-12 10:09:06 +0000 |
---|---|---|
committer | Thom May <thom@may.lt> | 2015-11-12 10:09:06 +0000 |
commit | 9c446cea67755e2835f43d5534f77f09573d8df1 (patch) | |
tree | e7955ffb159d2daa2deb008cd2460258ee1d88e8 /lib/chef/provider | |
parent | 8ca5eb3981a630aa11e8431ec8d7dd34236ebc36 (diff) | |
parent | 2c429ecb73d857fbbdb74ce7cba9e44862868ca0 (diff) | |
download | chef-9c446cea67755e2835f43d5534f77f09573d8df1.tar.gz |
Merge pull request #4101 from johnbellone/master
package/solaris: Adds alias method for upgrade_package.
Diffstat (limited to 'lib/chef/provider')
-rw-r--r-- | lib/chef/provider/package/solaris.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/provider/package/solaris.rb b/lib/chef/provider/package/solaris.rb index e62f37d27b..c0d2beec36 100644 --- a/lib/chef/provider/package/solaris.rb +++ b/lib/chef/provider/package/solaris.rb @@ -125,6 +125,8 @@ class Chef end end + alias_method :upgrade_package, :install_package + def remove_package(name, version) if @new_resource.options.nil? shell_out_with_timeout!( "pkgrm -n #{name}" ) |