Jake
2011-Aug-10 20:40 UTC
[Puppet Users] puppet-2.7.1/facter-1.6.0 still incorrectly reporting openvz hardware node as virtual machine
I recently installed puppet on a RHEL 6 test server to begin
familiarizing myself with it. I''d originally installed puppet 2.6.8
and facter 1.5.9 and noticed the mis-identification.
I found a fix here -
https://github.com/saysjonathan/facter/commit/82c3ab7420bddd78bce267f11a4f301430b77578
After I applied the fix mentioned above, facter began returning the
correct info. However, even though facter was now correct, the
following manifest still returned "virtual" for the hardware node:
if $is_virtual {
notify {"I am virtual!":}
}
else {
notify {"I am physical":}
}
So, are the facter results cached somewhere? What could account for
the fact that facter output is correct, but the manifest still returns
false data?
I updated to puppet-2.7.1 and facter-1.6.0 and now facter and the
manifest both report incorrectly that the hardware node is virtual.
Any ideas on where I should look would be welcome.
Jake
--
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.