I''ve noticed that facter doesn''t flag VirtualBox as a VM; where do I submit a patch? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dick Davies wrote:> I''ve noticed that facter doesn''t flag VirtualBox as a VM; where do I > submit a patch?Dick See http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle If you''re not a Git person then the best course is to log a ticket at: http://projects.reductivelabs.com/projects/facter (You''ll need to create an account) And attach your patch as a unified diff. We also appreciate patches being send to the puppet-dev list for discussion. Regards James Turnbull - -- Author of: * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkou/WkACgkQ9hTGvAxC30Ac9QCgoA+sQualHANXiNbRAlv5fCYr m2kAoIOkf6RKQVxIe2VhYe87ydIJtbQ+ =Ya1m -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks James. Actually it''s the same fundamental issue as http://projects.reductivelabs.com/issues/2067 so i''ve amended that ticket. I won''t send a patch just yet, but at least I can pick through the code now when I get a spare hour :) Thanks for the pointers. On Wed, Jun 10, 2009 at 1:25 AM, James Turnbull<james@lovedthanlost.net> wrote:> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Dick Davies wrote: >> I''ve noticed that facter doesn''t flag VirtualBox as a VM; where do I >> submit a patch? > > Dick > > See http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle > > If you''re not a Git person then the best course is to log a ticket at: > > http://projects.reductivelabs.com/projects/facter > > (You''ll need to create an account) > > And attach your patch as a unified diff. We also appreciate patches > being send to the puppet-dev list for discussion.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
2009/6/10 Dick Davies <rasputnik@hellooperator.net>:> > Thanks James. > > Actually it''s the same fundamental issue as > > http://projects.reductivelabs.com/issues/2067 > > so i''ve amended that ticket. > > I won''t send a patch just yet, but at least I can pick through the code > now when I get a spare hour :) Thanks for the pointers.I''m in the middle of completely rewriting the fact. On your virtual box guest can you give me the output of running lscpu: wget http://people.redhat.com/kzak/lscpu.c gcc -o lscpu lscpu.c ./lscpu Cheers Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, Am 11.06.2009 um 15:41 schrieb Paul Nasrat:> gcc -o lscpu lscpu.cI get: """ lscpu.c:21:19: Fehler: ctype.h: No such file or directory lscpu.c:22:20: Fehler: dirent.h: No such file or directory lscpu.c:23:17: Fehler: err.h: No such file or directory lscpu.c:24:19: Fehler: errno.h: No such file or directory lscpu.c:25:19: Fehler: fcntl.h: No such file or directory lscpu.c:26:20: Fehler: getopt.h: No such file or directory lscpu.c:27:19: Fehler: stdio.h: No such file or directory lscpu.c:28:20: Fehler: stdlib.h: No such file or directory lscpu.c:29:20: Fehler: string.h: No such file or directory lscpu.c:30:25: Fehler: sys/utsname.h: No such file or directory lscpu.c:31:20: Fehler: unistd.h: No such file or directory """ on an ubuntu KVM guest with gcc installed. I suppose I lack some paths in some ENV variables, can anyone point me to which ones? Felix --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
>> gcc -o lscpu lscpu.c > > I get: > """ > lscpu.c:21:19: Fehler: ctype.h: No such file or directory > lscpu.c:22:20: Fehler: dirent.h: No such file or directory > lscpu.c:23:17: Fehler: err.h: No such file or directory > lscpu.c:24:19: Fehler: errno.h: No such file or directory > lscpu.c:25:19: Fehler: fcntl.h: No such file or directory > lscpu.c:26:20: Fehler: getopt.h: No such file or directory > lscpu.c:27:19: Fehler: stdio.h: No such file or directory > lscpu.c:28:20: Fehler: stdlib.h: No such file or directory > lscpu.c:29:20: Fehler: string.h: No such file or directory > lscpu.c:30:25: Fehler: sys/utsname.h: No such file or directory > lscpu.c:31:20: Fehler: unistd.h: No such file or directory > """ > on an ubuntu KVM guest with gcc installed. I suppose I lack some paths > in some ENV variables, can anyone point me to which ones?That all should be part of libc. Try apt-get install build-essential. Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Am 11.06.2009 um 17:23 schrieb Paul Nasrat:> That all should be part of libc. Try apt-get install build-essential.Actually, libc6-dev was enough. """ Architecture: x86_64 CPU(s): 2 Thread(s) per core: 1 Core(s) per socket: 1 CPU socket(s): 2 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 2 Stepping: 3 CPU MHz: 2659.996 Hypervisor vendor ID: KVMKVMKVM Virtualization type: full """ Ubuntu guest in KVM. Regards, Felix --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks Paul [root@shoemaker ~]# ./lscpu Architecture: i686 CPU(s): 1 Thread(s) per core: 1 Core(s) per socket: 1 CPU socket(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 15 Stepping: 11 CPU MHz: 960.373 (sorry for delay in replying) On Thu, Jun 11, 2009 at 2:41 PM, Paul Nasrat<pnasrat@googlemail.com> wrote:> > 2009/6/10 Dick Davies <rasputnik@hellooperator.net>: >> >> Thanks James. >> >> Actually it''s the same fundamental issue as >> >> http://projects.reductivelabs.com/issues/2067 >> >> so i''ve amended that ticket. >> >> I won''t send a patch just yet, but at least I can pick through the code >> now when I get a spare hour :) Thanks for the pointers. > > I''m in the middle of completely rewriting the fact. > > On your virtual box guest can you give me the output of running lscpu: > > wget http://people.redhat.com/kzak/lscpu.c > gcc -o lscpu lscpu.c > ./lscpu > > Cheers > > Paul > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---