facter wrong report

32 views
Skip to first unread message

shell heriyanto

unread,
May 22, 2013, 4:06:02 AM5/22/13
to puppet...@googlegroups.com
Hi,

I just check from my virtual machine:
[root@host ~]# facter|grep virtual
is_virtual => false
virtual => physical

My operating system is CentOS 6.4 running as domu, running under dom0 CentOS 5.9.
I use facter-1.6.6-1.el6. Its bug?

Thanks for any comment.

Regards,
Heriyanto

Ellison Marks

unread,
May 22, 2013, 12:49:43 PM5/22/13
to puppet...@googlegroups.com
I'm on 1.7.1, Facter finds xen fine.

is_virtual => true
virtual => xen

odd part is I'm not sure the detection method has changed since 1.6. It just check if any of these paths exist:

"/proc/sys/xen"
, "/sys/bus/xen", "/proc/xen"

shell heriyanto

unread,
May 22, 2013, 10:52:39 PM5/22/13
to puppet...@googlegroups.com
Hi Ellison, thank you for help, theres some bug i think in that version, now i use 1.6.18-3.el6 its solved.


--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To post to this group, send email to puppet...@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages