Issue #1625 has been updated by luke.

Status changed from Unreviewed to Needs design decision

In this case we're following the dictates of the platform, which I think makes 
sense.  I'm not sure it's possible to get yum, up2date, or gems to skip 
updating headers on every run, and I'm nearly positive that Debian users 
actually want tight control over when they do header updates.

I'm afraid that this change would break people's expectations too much.

What do others think?
----------------------------------------
Bug #1625: package providers should be consistent in retrieval of package 
headers
http://projects.reductivelabs.com/issues/show/1625

Author: ohookins
Status: Needs design decision
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.24.5
Keywords: 


I've just sent an email to the mailing list for discussion but here's a brief 
summary.

Package managers such as yum and up2date inherently update the package headers 
from configured repositories as part of any command run by Puppet. Apt-get on 
Debian will only update package headers if you specify "apt-get update" 
explicitly (which is not currently done).

Therefore there is an inconsistency in package providers in that Debian/Ubuntu 
require you to exec/schedule an "apt-get update" independently to any package 
resources whereas header updating is automatic for other package managers (I 
can't vouch for anything but yum/up2date since those are the only alternatives 
we use).

Two options in my mind:
 1. Add "apt-get update" to the debian package provider to be run before any 
other commands that query the local header cache
 2. Fix all other package providers to NOT automatically update headers with 
their respective commands (if this is even possible) and provide a mechanism 
for specifying if headers are to be updated or not (up to the user).

Either way, we need to ensure that the underlying package manager does not 
dictate that platform-specific hacks need to be used.


----------------------------------------
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://reductivelabs.com/redmine/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