Add package_provider parameter

Needed to specify package provider to install package on Solaris
Awesome! Could you please add a test for a non-string which should trigger your validate_string() function.