Issue #1625 has been updated by luke.

Status changed from Needs design decision to Rejected

After all the discussion, I think rejecting this ticket makes the most sense.

You'll be able to pretty easily get the behaviour you want once we provide a 
syntax for specifying relationships to or from sets of resources -- you could 
easily have all of your apt packages depend on an apt-get update exec.
----------------------------------------
Bug #1625: package providers should be consistent in retrieval of package 
headers
http://projects.reductivelabs.com/issues/show/1625

Author: ohookins
Status: Rejected
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