Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#22128) Confine yum provider prefetch spec from running on windows #1834

Conversation

jpartlow
Copy link
Contributor

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.

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.
jpartlow added a commit that referenced this pull request Aug 12, 2013
…h-failure-spec-confined-on-windows

(#22128) Confine yum provider prefetch spec from running on windows
@jpartlow jpartlow merged commit 266abdc into puppetlabs:master Aug 12, 2013
@puppetcla
Copy link

CLA signed by all contributors.

@jpartlow jpartlow deleted the issue/master/22128-yum-prefetch-failure-spec-confined-on-windows branch November 21, 2013 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants