I'm wondering if I have the same question.
I have a laptop that works well with my Puppet Master while I'm at home.
However, when I leave home, puppet no longer is able to apply the manifests
(configs) assigned to it.
I was hoping that it would simply continue to apply whatever manifests it
Here's the output for the commands you requested. Thanks again for looking
into it.
+* ruby --version*
ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
+* ls -l /sys/firmware/dmi/entries/1-0/raw*
-r 1 root root 0 May 6 10:39 /sys/firmware/dmi/entries/1-0/raw
+* stat
I also did the modification that Stefan requested and my output is the same
as yours:
[root@hogwarts ~]# facter --debug virtual
about to execute /bin/uname -s
Could not retrieve virtual: Invalid argument -
/sys/firmware/dmi/entries/1-0/raw
about to execute /sbin/virt-what 2/dev/null
value
Sorry... I forgot to answer John's questions (above).
Facter produces the same error messages running under sudo. Also, I have
SELinux turned off.
[root@hogwarts ~]# *facter virtual*
Could not retrieve virtual: Invalid argument -
/sys/firmware/dmi/entries/1-0/raw
physical
[root@hogwarts
I did discover that Puppet appears to be running just fine. I think the
problem may be isolated to facter and puppet appears to forgive the
problem. 8-)
Here's the output you requested. (I don't see a trace.)
[root@hogwarts log]# facter -v
1.7.0
[root@hogwarts log]# facter --debug --trace
[root@hogwarts ~]# facter --debug --timing virtual
kernel: 2.97ms
Could not retrieve virtual: Invalid argument -
/sys/firmware/dmi/entries/1-0/raw
virtual: 50.26ms
lsbdistid: 0.53ms
value for lsbdistid is still nil
operatingsystem: 2.00ms
hardwaremodel: 3.36ms
architecture: 10.61ms
virtual:
I'm trying to install Puppet on a Fedora 17 box.
The puppet agent --test command fails with this error message:
Could not retrieve virtual: Invalid argument -
/sys/firmware/dmi/entries/1-0/raw
I get the same error message if I type the command facter virtual.
This box is a physical machine.