Issue #12116 has been updated by Rob Reynolds. Subject changed from Windows domain and fqdn facts are empty to Windows domain and fqdn facts error when there is no domain. Status changed from Rejected to Accepted Support Urls set to https://s3.amazonaws.com/uploads.hipchat.com/28367/351727/tjtgqluzsnlr78j/ReproducedDomainBugFacterWindows.png
This has been reproduced. We don't want this to error when there is no domain. ---------------------------------------- Bug #12116: Windows domain and fqdn facts error when there is no domain. https://projects.puppetlabs.com/issues/12116#change-96484 * Author: Mike Carlson * Status: Accepted * Priority: Normal * Assignee: Josh Cooper * Category: windows * Target version: * Keywords: * Branch: * Affected Facter version: ---------------------------------------- After following the documentation here: http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows I installed facter and puppet on a Windows 2003 Server, however, both domain and fqdn are "nil", and I am unable proceed any further: <pre> C:\>facter -v 1.6.5 C:\>facter fqdn C:\>facter domain C:\>facter hostname OFFSITE-1 </pre> Other facts are present: <pre> C:\>facter architecture => i386 facterversion => 1.6.5 hardwaremodel => i686 hostname => OFFSITE-1 id => nt authority\system ipaddress => 192.168.10.45 kernel => windows kernelmajversion => 5.2 kernelrelease => 5.2.3790 kernelversion => 5.2.3790 macaddress => 00:22:19:99:E3:9E manufacturer => Dell Inc. memoryfree => 10.91 GB memorysize => 15.99 GB memorytotal => 15.99 GB operatingsystem => windows operatingsystemrelease => 5.2.3790 osfamily => windows path => C:\Ruby187\bin;C:\Program Files (x86)\Windows Resource Kits\Tools\;C:\Pr ogram Files (x86)\Seagate Software\NOTES\;C:\Program Files (x86)\Seagate Softwar e\NOTES\DATA\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Program Files\TortoiseGit\bin;/usr/sbin;/sbin physicalprocessorcount => 8 processor0 => Intel(R) Pentium(R) III Xeon processor processor1 => Intel(R) Pentium(R) III Xeon processor processor2 => Intel(R) Pentium(R) III Xeon processor processor3 => Intel(R) Pentium(R) III Xeon processor processor4 => Intel(R) Pentium(R) III Xeon processor processor5 => Intel(R) Pentium(R) III Xeon processor processor6 => Intel(R) Pentium(R) III Xeon processor processor7 => Intel(R) Pentium(R) III Xeon processor processorcount => 8 productname => PowerEdge 2950 ps => tasklist.exe puppetversion => 2.7.10 rubysitedir => C:/Ruby187/lib/ruby/site_ruby/1.8 rubyversion => 1.8.7 serialnumber => JTF7YH1 timezone => Pacific Standard Time uptime => 63 days uptime_days => 63 uptime_hours => 1526 uptime_seconds => 5495113 </pre> This seems to work fine with a Windows 7 system: <pre> C:\tools\puppetlabs-facter-f16fcfa>facter -v 1.6.5 C:\tools\puppetlabs-facter-f16fcfa>facter hostname LAP-MC C:\tools\puppetlabs-facter-f16fcfa>facter domain bayphoto.local C:\tools\puppetlabs-facter-f16fcfa>facter fqdn LAP-MC.bayphoto.local </pre> -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
