Issue #5040 has been updated by Stefan Schulte.
I sent a slightly modified patch to dev list, because the patch I posted here did include some tests that belong to #5016. I just have a few things to think about: - I dont know how to detect a HP-VM if you run other OSes than HP-UX as a guest (according to wikipedia http://en.wikipedia.org/wiki/HP_Integrity_Virtual_Machines it is possible). But I guess this scenario is not very common - I dont know what `/usr/bin/getconf MACHINE_MODEL` will say when you run HP-UX as a VMWare Guest. If it also says "Virtual Machine" then my regex has to be more specific. ---------------------------------------- Feature #5040: virtual should detect hpvm https://projects.puppetlabs.com/issues/5040 Author: Stefan Schulte Status: Unreviewed Priority: Normal Assignee: Category: Target version: Keywords: virtual, is_virtual, HP-UX Branch: With HP-UX you can build virtual systems that are often refered to as HP-VMs. Facter should recognize HP-VMs and set "virtual" and "is_virtual" accordingly. The easiest way to recognize them I've found out so far (and that doesnt rely on tools that might be not installed) is to call /usr/bin/getconf MACHINE_MODEL If you're running a HP-VM Guest you will get something like 'ia64 hp server Integrity Virtual Machine' so I guess /Virtual Machine/ should always fit. -- 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.
