Issue #14172 has been updated by Juan José Presa Rodal.

Hi. At first apologize for my poor english:

<blockquote>
If I read correctly, the `linux-headers-server` is a metapackage that you have 
asked to install.
</blockquote>
Correct

<blockquote>
When you run puppet resource package `linux-headers-server` it has `ensure => 
absent` in the output.
</blockquote>
False. The output is `ensure =>  '2.6.32.41.48'`.

<blockquote>
When you run Puppet, it tries to install the package.
</blockquote>
Not exactly. The package is installed. But when this package is upgraded in the 
repository, Puppet tries to upgrade it.

Thanks in advance

----------------------------------------
Bug #14172: Undiserable kernel upgrade in Ubuntu
https://projects.puppetlabs.com/issues/14172#change-61449

Author: Juan José Presa Rodal
Status: Needs More Information
Priority: Normal
Assignee: 
Category: package
Target version: 
Affected Puppet version: 2.7.13
Keywords: 
Branch: 


Hi, I've defined this module:

`
package {['build-essential', "linux-headers-${kernelrelease}", 'dkms', 
'linux-headers-server']:
  ensure => installed
}
`

and when the package linux-headers-server it's upgraded in the repositories 
puppet tries to upgrade in client too. And as that package has a dependency 
with latest kernel also upgrade it. 

I'm defining `ensure => installed`, not `ensure => latest`

I'm know that linux-headers-server it's a metapackage that point to last 
release of linux server, anyway if `puppet resource package 
linux-headers-server` returns something different of `absent` the provider 
would do nothing.

Would not be that way more consistent behaviour?



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