Issue #15644 has been reported by Rahul Gopinath.
----------------------------------------
Bug #15644: pkg provider method latest is broken.
https://projects.puppetlabs.com/issues/15644
Author: Rahul Gopinath
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Rahul Gopinath
Category: package
Target version: 3.x
Affected Puppet version:
Keywords:
Branch:
See #7986
# cat ../t.pp
Package { provider => 'pkg' }
package { 'text/gnu-patch':
ensure => latest,
}
file {'tst':
path => '/tmp/xxx',
content => 'Hai',
require => Package['text/gnu-patch']
}
# ./bin/puppet apply ../t.pp
Error: /Stage[main]//Package[text/gnu-patch]: Could not evaluate: Could not
get latest version: undefined method `parse_line' for
#<Puppet::Type::Package::ProviderPkg:0x8d33c60>
/Stage[main]//File[tst]: Dependency Package[text/gnu-patch] has failures:
true
Warning: /Stage[main]//File[tst]: Skipping because of failed dependencies
Finished catalog run in 2.02 seconds
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.