Method: Chef::Provider::Package::Ips#install_package

Defined in:
lib/chef/provider/package/ips.rb

#install_package(name, version) ⇒ Object



72
73
74
75
76
77
# File 'lib/chef/provider/package/ips.rb', line 72

def install_package(name, version)
  command = [ "pkg", options, "install", "-q" ]
  command << "--accept" if new_resource.accept_license
  command << "#{name}@#{version}"
  shell_out!(command)
end