2009/3/9 Trevor Hemsley <trevor.hems...@codefarm.com> > > I think your facter version is rather old. On facter 1.5.4 (and probably > before), as long as I have dmidecode installed, facter presents several > variables that can be used to identify VM's without any coding. > > manufacturer => VMware, Inc. > virtual => vmware > > manufacturer => Xen > virtual => physical > > It appears that $virtual doesn't work on Xen :( >
It appears it doesn' work under Debian/Windows HyperV either:- g...@dv01:~ $ sudo facter virtual physical g...@dv01:~ $ sudo facter -v 1.5.1 g...@dv01:~ $ sudo facter operatingsystem Debian g...@dv01:~ $ I may raise a bug. Gary -- Gary Law Email: gary...@garylaw.net Chat googletalk/messenger: gary....@gmail.com iChat/jabber/AIM: gary....@mac.com --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---