Issue #14172 has been updated by Daniel Pittman.

Category set to package
Status changed from Unreviewed to Needs More Information

Hey.  I wanted to check something with you:

* If I read correctly, the `linux-headers-server` is a metapackage that you 
have asked to install.
* When you run `puppet resource package linux-headers-server` it has `ensure => 
absent` in the output.
* When you run Puppet, it tries to install the package.

Is that the correct reading of this?

If so, the problem is that Puppet is checking to see if the package is 
installed, and isn't recognising a virtual package.  That is a different issue 
to what it might be, but (combined with the semantics of apt) would explain why 
it behaves the way you see.  Confirming that lets us move forward.
----------------------------------------
Bug #14172: Undiserable kernel upgrade in Ubuntu
https://projects.puppetlabs.com/issues/14172#change-61445

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