Issue #4929 has been reported by Xavier Delaruelle.

----------------------------------------
Bug #4929: no error reported when installing an unavalable package through yum 
provider in 2.6.2rc1
http://projects.puppetlabs.com/issues/4929

Author: Xavier Delaruelle
Status: Unreviewed
Priority: High
Assignee: 
Category: 
Target version: 2.6.2
Affected version: 2.6.2rc1
Keywords: 
Branch: 


Hello,

When trying to install a package that do not exit on a CentOS 5 host, puppet 
2.6.2rc1 does not complain and everything seems ok whereas the package is not 
installed at the end of the run.

`cat test-pkg.pp 
package { "fake_package": ensure => installed, }
# puppet apply test-pkg.pp
/usr/lib/ruby/site_ruby/1.8/puppet/util/metric.rb:62: warning: parenthesize 
argument(s) for future version
notice: /Stage[main]//Package[fake_package]/ensure: ensure changed 'purged' to 
'present'
# rpm -qa fake_package
# yum search fake_package
...
No Matches found`

Regards,
Xavier



-- 
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.

Reply via email to