Issue #20054 has been updated by Josh Cooper.

Status changed from Unreviewed to Accepted

Same on mac osx 10.7. Also I can't get a backtrace using `--trace`:

<pre>
$ facter --trace --debug
...
Could not retrieve virtual: undefined method `gsub' for nil:NilClass
...
</pre>

----------------------------------------
Bug #20054: virtual facts show error about gsub on nil
https://projects.puppetlabs.com/issues/20054#change-87972

* Author: Patrick Carlisle
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 1.7.0
* Keywords: 
* Branch: 
* Affected Facter version: 1.7.0-rc1
----------------------------------------
On my system, Debian sid, `facter virtual` and `facter is_virtual` display an 
error

    % facter virtual
    Could not retrieve virtual: undefined method `gsub' for nil:NilClass
    vmware_workstation

(I have vmware workstation installed but this system is not virtual so that 
return value seems wrong.)

    % facter is_virtual
    Could not retrieve virtual: undefined method `gsub' for nil:NilClass
    false


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

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


Reply via email to