Issue #4869 has been updated by n4th4n r1ch.

<del>Strikeout</del>: this is a custom fact
**Bold**: this is of interest

This is what I see on a Fedora 13 physical box:
    architecture => x86_64
    domain => (removed)
    facterversion => 1.5.8
    fqdn => ws-027.(removed)
    hardwareisa => x86_64
    hardwaremodel => x86_64
    hostname => ws-027
    id => root
    interfaces => eth0,eth1
    ipaddress => 100.100.108.27
    ipaddress_eth0 => 100.100.108.27
    is_virtual => false
    kernel => Linux
    kernelmajversion => 2.6
    kernelrelease => 2.6.34.7-56.fc13.x86_64
    kernelversion => 2.6.34.7
    <ins>logged_in_user => nathanr</ins>
    lsbdistcodename => Goddard
    lsbdistdescription => Fedora release 13 (Goddard)
    lsbdistid => Fedora
    lsbdistrelease => 13
    lsbmajdistrelease => 13
    lsbrelease => :core-4.0-amd64:core-4.0-noarch
    macaddress => 00:17:F2:0D:9B:A8
    macaddress_eth0 => 00:17:F2:0D:9B:A8
    macaddress_eth1 => 00:17:F2:0D:9B:A9
    manufacturer => Apple Computer, Inc.
    memoryfree => 6.22 GB
    memorysize => 7.81 GB
    netmask => 255.255.255.0
    netmask_eth0 => 255.255.255.0
    network_eth0 => 100.100.108.0
    operatingsystem => Fedora
    operatingsystemrelease => 13
    path => 
/usr/local/sbin:/usr/bin:/usr/local/bin:/sbin:/bin:/usr/sbin:/root/bin:/usr/local/rush/bin:/root/bin
    physicalprocessorcount => 2
    processor0 => Intel(R) Xeon(R) CPU            5150  @ 2.66GHz
    processor1 => Intel(R) Xeon(R) CPU            5150  @ 2.66GHz
    processor2 => Intel(R) Xeon(R) CPU            5150  @ 2.66GHz
    processor3 => Intel(R) Xeon(R) CPU            5150  @ 2.66GHz
    processorcount => 4
    productname => MacPro1,1 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    ps => ps -ef
    puppetversion => 2.6.1
    rubysitedir => /usr/lib/ruby/site_ruby/1.8
    rubyversion => 1.8.6
    selinux => false
    serialnumber => (removed)
    sshdsakey => (removed)
    swapfree => 2.00 GB
    swapsize => 2.00 GB
    timezone => PDT
    type => Unknown
    uniqueid => 64641b6c
    uptime => 1 day
    uptime_days => 1
    uptime_hours => 30
    uptime_seconds => 110864
    virtual => physical

And this is what I see on OSX on a similar physical box:
    domain => (removed)
    facterversion => 1.5.8
    fqdn => ws-063.(removed)
    hardwaremodel => i386
    hostname => ws-063
    interfaces => lo0,gif0,stf0,en0,en1,fw0,vmnet8,vmnet1
    ipaddress => 100.100.104.63
    ipaddress_en0 => 100.100.104.63
    ipaddress_lo0 => 127.0.0.1
    ipaddress_vmnet1 => 192.168.61.1
    ipaddress_vmnet8 => 192.168.210.1
    kernel => Darwin
    kernelmajversion => 9.6
    kernelrelease => 9.6.0
    kernelversion => 9.6.0
    macaddress => 00:1f:5b:39:b6:91
    macaddress_en0 => 00:1f:5b:39:b6:90
    macaddress_en1 => 00:1f:5b:39:b6:91
    macaddress_fw0 => 00:21:e9:ff:fe:c8
    macaddress_vmnet1 => 00:50:56:c0:00:01
    macaddress_vmnet8 => 00:50:56:c0:00:08
    macosx_buildversion => 9G55
    macosx_productname => Mac OS X
    macosx_productversion => 10.5.6
    macosx_productversion_major => 10.5
    macosx_productversion_minor => 6
    netmask => 255.255.255.0
    netmask_en0 => 255.255.255.0
    netmask_lo0 => 255.0.0.0
    netmask_vmnet1 => 255.255.255.0
    netmask_vmnet8 => 255.255.255.0
    network_en0 => 100.100.104.0
    network_lo0 => 127.0.0.0
    network_vmnet1 => 192.168.61.0
    network_vmnet8 => 192.168.210.0
    operatingsystem => Darwin
    operatingsystemrelease => 9.6.0
    path => 
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/rush/bin
    ps => ps auxwww
    puppetversion => 0.25.4
    rubyversion => 1.8.6
    sp_boot_mode => normal_boot
    sp_boot_rom_version => MP31.006C.B05
    sp_boot_volume => Luma-HD-10.5.6
    sp_bus_speed => 1.6 GHz
    sp_cpu_type => Quad-Core Intel Xeon
    sp_current_processor_speed => 2.8 GHz
    sp_kernel_version => Darwin 9.6.0
    sp_l2_cache_share => 12 MB
    sp_local_host_name => ws-063
    sp_machine_model => MacPro3,1 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    sp_machine_name => MacPro
    sp_number_processors => 8
    sp_os_version => Mac OS X 10.5.6 (9G55)
    sp_packages => 2
    sp_physical_memory => 8 GB
    sp_serial_number => (removed)L
    sp_smc_version => 1.25f4
    sp_uptime => up 11:6:4:56
    sp_user_name => System Administrator (root)
    sshdsakey => (removed)
    sshrsakey => (removed)
    timezone => PDT
    uptime => 11 days
    uptime_days => 11
    uptime_hours => 270
    uptime_seconds => 972266
    
So basically any of those sp_ facts which are not otherwise duplicated will 
require manifests to check for them and default to the other version of them. 
Not sure if I should include in this ticket or not but there are other similar 
issues like architecture not existing on the osx box, and how it's showing as 
puppet .25 since that is installed, but 2.6.1 is also installed and is being 
run by default.
----------------------------------------
Bug #4869: no 'productname' in Facter on OS X
http://projects.puppetlabs.com/issues/4869

Author: n4th4n r1ch
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 


'productname' in Facter on OS X should return that which is shown from `sysctl 
hw.model`

currently it's not present, which means manifests will need to have case 
selects on if it's there or to get sp_ facts


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