Issue #9183 has been updated by Jon Auer.

Does this help at all? 
https://github.com/jda/facter/commit/320301015b892591ad22e545c21a221d8de43bd5

I'm not really familiar with rspec and now I'm getting a error from rake spec 
and I'm not sure how the part that I changed is getting involved:

    2) Operating System Release fact for VMWareESX it should run the vmware -v 
command
     Failure/Error: Facter.fact(:operatingsystemrelease).value
     Mocha::ExpectationError:
       unexpected invocation: Facter::Util::Resolution.exec('cat 
/etc/alpine-release')
       satisfied expectations:
       - allowed any number of times, not yet invoked: 
#<AnyInstance:Facter::Util::Loader>.load_all(any_parameters)
       - allowed any number of times, not yet invoked: 
#<Facter::Util::Fact:0xb73fc930>.value(any_parameters)
       - allowed any number of times, not yet invoked: 
#<Facter::Util::Fact:0xb73ef1e0>.value(any_parameters)
       - allowed any number of times, invoked 16 times: 
#<Facter::Util::Fact:0xb73d6500>.value(any_parameters)
       - allowed any number of times, invoked twice: 
Facter::Util::Resolution.exec('vmware -v')
     # ./spec/../lib/facter/operatingsystemrelease.rb:127
     # ./spec/../lib/facter/util/resolution.rb:153:in `call'
     # ./spec/../lib/facter/util/resolution.rb:153:in `value'
     # ./spec/../lib/facter/util/resolution.rb:151:in `value'
     # ./spec/../lib/facter/util/fact.rb:73:in `value'
     # ./spec/../lib/facter/util/loader.rb:73:in `inject'
     # ./spec/../lib/facter/util/fact.rb:69:in `each'
     # ./spec/../lib/facter/util/fact.rb:69:in `inject'
     # ./spec/../lib/facter/util/fact.rb:69:in `value'
     # ./spec/../lib/facter/util/fact.rb:115:in `searching'
     # ./spec/../lib/facter/util/fact.rb:65:in `value'
     # ./spec/unit/operatingsystemrelease_spec.rb:47

----------------------------------------
Feature #9183: Add support for alpine linux
https://projects.puppetlabs.com/issues/9183

Author: Adrien Thebo
Status: Tests Insufficient
Priority: Normal
Assignee: Adrien Thebo
Category: 
Target version: 
Keywords: 
Branch: 
Affected Facter version: 


Code for detection is located at 
https://github.com/jda/facter/commit/05df4ea031a2922ff3bd0c0f40480d91d3e36bee , 
but needs tests.


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

Reply via email to