puppetlabs/puppet — pull request #1834 by jpartlow (2013-08-12 22:18:46+00:00)
Title: (#22128) Confine yum provider prefetch spec from running on windows

The new yum prefetch spec was failing on windows:

Puppet::Type::Package::ProviderYum prefetching injects latest provider
info into passed resources when prefetching
Failure/Error: myresource = package_type.new(:name => "myresource",
:ensure => :latest)
Puppet::ResourceError:
Parameter ensure failed on Package[myresource]: Provider must have
features 'upgradeable' to set 'ensure' to 'latest'

possibly because the windows default package provider does not provide
the same features. Since this test is specific to yum, confining it from
running on windows.