Issue #3926 has been updated by Alan Barrett.

Luke Kanies wrote:
> Is uniqueid really a universal concept? [...]
> I'm comfortable renaming the fact to reflect that

I'd suggest renaming the fact to "hostid", to better match the underlying 
operating system's name for that identifier.  If the OS doesn't provide a 
gethostid() library function or a hostid command, then facter can simply omit 
the fact.  If the hostid is not really unique, then it's not facter's fault; 
you can tell users to blame the OS vendor.

In other words, if the fact is called "uniqueid" then users will expect it to 
be unique, and will blame facter when it's not unique; but if the fact is 
called "hostid" then users will be receptive to the idea that facter merely 
copies what the OS reports, and facter is not responsible for making it unique.
----------------------------------------
Bug #3926: uniqueid not unique enough
http://projects.puppetlabs.com/issues/3926

Author: Greg Maples
Status: Needs design decision
Priority: Normal
Assigned to: 
Category: library
Target version: 
Affected version: 0.25.4
Keywords: 
Branch: 


basing it on hostid is not nearly unique enough especially in a xen environment 
with duplicated machines and multiple instances of IPs and MACs.  I'd suggest 
something like serial number from BIOS (works for dell, hp, ibm, etc - 
significant portion of all x86 machines) modified by the system time when 
facter was initially installed.


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