You can look in the yaml files on the puppet master to get a list
and examples of each variable. I am not sure where these are on your
system (depends on how it is installed), but you should have one for
each host within /var/??? and probably inside a "yaml" subdirectory.
Here is an example of one of my clients (Note: I have quite a few
custom facts for interfaces, etc. so you probably won't have those):


more /var/opt/dhw/puppetmd/yaml/facts/fakeserver.domain.name
--- !ruby/object:Puppet::Node::Facts
expiration: 2009-10-08 17:32:00.575151 -06:00
name: fakeserver
values:
  kernel: SunOS
  netmask: 255.255.255.0
  ipaddress_vnet0_3: 10.10.1.53
  network_vnet0_2: 10.10.1.0
  operatingsystemrelease: "5.10"
  fqdn: fakeserver.domain.name
  network_vnet0_3: 10.10.1.0
  netmask_lo0: 255.0.0.0
  uniqueid: 84f9e03a
  ipaddress: 10.10.1.51
  is_virtual: "false"
  virtual: physical
  netmask_lo0_1: 255.0.0.0
  clientversion: 0.25.0
  ps: ps -ef
  netmask_lo0_2: 255.0.0.0
  ipaddress_vnet0: 10.10.1.51
  hardwaremodel: sun4v
  rubysitedir: /opt/dhw/lib/ruby/site_ruby/1.8
  kernelrelease: "5.10"
  network_vnet0: 10.10.1.0
  domain: domain.name
  netmask_lo0_3: 255.0.0.0
  ? !ruby/sym _timestamp
  : Thu Oct 08 17:02:00 -0600 2009

  id: root
  timezone: MDT
  interfaces: lo0,lo0_1,lo0_2,lo0_3,vnet0,vnet0_1,vnet0_2,vnet0_3
  macaddress_vnet0: 0:14:4f:fb:d9:cc
  ipaddress_lo0_1: 127.0.0.1
  hardwareisa: sparc
  network_lo0: 127.0.0.0
  kernelversion: Generic_141414-07
  netmask_vnet0_1: 255.255.255.0
  path: /usr/sbin:/usr/bin:/usr/ccs/bin:/opt/SUNWldm/bin:/opt/smuser/
webagent/bin:/sbin
  ipaddress_lo0_2: 127.0.0.1
  network_lo0_1: 127.0.0.0
  ipaddress_lo0: 127.0.0.1
  ipaddress_lo0_3: 127.0.0.1
  hostname: fakeserver
  network_lo0_2: 127.0.0.0
  uptime: 2 day
  netmask_vnet0_2: 255.255.255.0
  puppetversion: 0.25.0
  environment: prod
  netmask_vnet0_3: 255.255.255.0
  operatingsystem: Solaris
  sshrsakey: KEywillbehereofcourse=
  network_lo0_3: 127.0.0.0
  macaddress: 0:14:4f:fb:d9:cc


On Oct 20, 9:26 am, Johan Finnved <[email protected]> wrote:
> Is there a list of builtin variables that get addad to thos from facter.
>
> I have found $server and $servername and $environment in examples from the 
> puppet
> documentation but I would like a comprehensive list and a way to dump all 
> values.
>
> I know that I can add custom facts, but I prefer looking for builtins to 
> avoid reinventing the wheel.
> /Johan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to