Issue #2235 has been updated by Luke Kanies. Status changed from Unreviewed to Closed
I think this is a good idea. It needs a good bit of detail, though, doesn't it? We need to go through all existing facts and figure out how to consolidate them and the best way to do so. This is probably another thing we should plan on for 2.0, since it would be a good idea to make the change to support namespaces at the same time (e.g., so we could do $processor::count or something similar). Can you bring this up on the dev list, though? I think it's a better place for the discussion, and once we've come to an agreed-upon design, we can open a ticket associated with it. That work? ---------------------------------------- Bug #2235: [proposal] consistent fact names for all platforms http://projects.reductivelabs.com/issues/2235 Author: Udo Waechter Status: Closed Priority: Normal Assigned to: Category: Target version: Complexity: Easy Keywords: The aim of facter is to provide information about a system independent of the platform that it runs on. Of course, there are platform specific facts, but some are independent of the underlying OS. Example: - number of processors (physical, virtual) - graphics card - memory - network card (manufacturer, type) - hard disks (this is difficult, due to differend naming schemes) - architecture and such. There should be a set of facts that are consistent (at least in naming) on all platforms: Currently, ther is "processorcount" on linux (and maybe others) and "sp_number_processors" on Darwin (see also: http://projects.reductivelabs.com/issues/2148 ). On Darwin it makes no sense to call this differently. It is counterintuitive and difficult to use such facts in puppet. The list can propably be extended with other facts, nevertheless there should be a stable naming scheme. First of all we should collect a list of facts that can be platform idependent. -- 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 -~----------~----~----~----~------~----~------~--~---
