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 [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-users?hl=en.

Reply via email to