Sponsored Link
It is easy to extend Facter to include your own custom facts or to include additional mechanisms for retrieving facts.
Install facter in Ubuntu
sudo apt-get install facter
This will complete the installation.
Using facter
factor syntax
factor OPTION
If you want to view your system facts just type the following command from your terminal
facter
Output looks like below
All I have to say is, “Wow”. This is just plain cool and will most likely make its way to all my servers.
Thanks much
Nice article, thanks.
Just a small note, though: Erasing a part of the fqdn might be a good idea – but the values of hostname and domain are still visible…
thanks mate i updated the image
Facter is a cool tool but it’s big brother Puppet makes use of these “facts” to automate configuration management of your host! You can find more about Puppet here
Does my mac adresse change if I upgrade my computer with some other hardware? For example change the graphic card?
Ryan – No. Your MAC address is linked to your network interface – see http://en.wikipedia.org/wiki/MAC_address for more details. It will not change when you change the graphics card. It will however change if you change your network card.