Issue #19167 has been updated by Matthaus Owens.

Released in Puppet 3.2.0-rc1

----------------------------------------
Bug #19167: extlookup_spec doesn't test key lookups due to Tempfile error
https://projects.puppetlabs.com/issues/19167#change-89567

* Author: Dominic Cleal
* Status: Closed
* Priority: Normal
* Assignee: Dominic Cleal
* Category: Doh!
* Target version: 3.2.0
* Affected Puppet version: 2.6.1
* Keywords: 
* Branch: https://github.com/puppetlabs/puppet/pull/1469
----------------------------------------
Three extlookup() examples in `spec/unit/parser/functions/extlookup_spec.rb` 
aren't run due to a misuse of the Tempfile.new call.  They initialise temp 
files by using:

    t = Tempfile.new('extlookup.csv') do
      t.puts 'key,value'
      t.puts 'nonkey,nonvalue'
    end

However blocks passed into Tempfile.new aren't run, it's only Tempfile.open 
that uses a block.


-- 
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