opscode/chef — pull request #952 by jblaine (2013-08-16 19:52:58+00:00)
Title: CHEF-4469 Allow installing packages from Jumpstart share

A common case in the world of Solaris is one where there is a Jumpstart boot+install server on the network. This, by definition, offers up the Solaris media in the form of an NFS share where each installable SysV package is exploded already into its own directory.

For example, SUNWntpr (the NTP "Root" package)

```
client% ls /net/pompeii/Solaris_10/Product/SUNWntpr
archive/ install/ pkginfo pkgmap reloc/
client%
```

This patch to the Solaris package provider detects if the 'source' (required attribute when using Solaris package provider) is a directory and acts differently if so. It allows the following to work in this scenario (where it does not currently):

```
package 'SUNWntpr' do
source '/net/pompeii/Solaris_10/Product'
end
```

Prior to this, package installation from an 'exploded' package directory would not work no matter what crazy package name + source location I constructed. pkgadd would barf.