Issue #3762 has been updated by Krzysztof Wilczynski.

Dis Connect wrote:
> Any updates on this? Both bugs seem to have been idle for quite a while..

One of my colleagues needed some sort of UUID on our systems.

This is my take on UUID version 5 type with DNS name space:

https://github.com/kwilczynski/facter-facts/blob/master/uuid.rb

Very simple. Probably more or a start on tackling this problem ...

Also, I have no idea whether this will work on big-endian architecture, since I 
do not have any PPC, MIPS etc to test on ...

Hope this helps.

KW
----------------------------------------
Bug #3762: Implement UUID fact
https://projects.puppetlabs.com/issues/3762

Author: Daniel Pope
Status: Accepted
Priority: Normal
Assignee: 
Category: library
Target version: 
Keywords: 
Branch: 
Affected Facter version: 


Debian-based systems in particular (possibly others) ship with an /etc/hosts 
file that starts

 127.0.0.1 localhost
127.0.1.1 hostname.domain.tld hostname

This is used to specify the FQDN of the machine independently of its physical 
IP address, and I believe their expectation is that you are not required to 
change this. However, this breaks the hostid command that is used to provide 
the uniqueid fact.

I would expect the uniqueid fact to be unique on out-of-the-box Debian machines 
- perhaps munging Facter.ipaddress in the same way as the hostid command would.

I also tested CentOS, but this does not use the same "hack", and it looks like 
you are expected to reconfigure /etc/hosts so that applications can find the 
hostname and FQDN.


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