Issue #4489 has been updated by Sebastian Boehm.

Stack trace:
<pre>

/usr/lib/ruby/1.8/net/http.rb:560:in `initialize'
/usr/lib/ruby/1.8/net/http.rb:560:in `open'
/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
/usr/lib/ruby/1.8/timeout.rb:62:in `timeout'
/usr/lib/ruby/1.8/timeout.rb:93:in `timeout'
/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
/usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
/usr/lib/ruby/1.8/net/http.rb:542:in `start'
/usr/lib/ruby/1.8/net/http.rb:1035:in `request'
/usr/lib/ruby/1.8/net/http.rb:948:in `request_get'
/usr/local/lib/site_ruby/1.8/puppet/type/file/content.rb:189:in 
`chunk_file_from_source'
/usr/local/lib/site_ruby/1.8/puppet/type/file/content.rb:172:in 
`each_chunk_from'
/usr/local/lib/site_ruby/1.8/puppet/type/file/content.rb:157:in `write'
/usr/local/lib/site_ruby/1.8/puppet/util/checksums.rb:46:in `md5_stream'
/usr/local/lib/site_ruby/1.8/puppet/type/file/checksum.rb:30:in `send'
/usr/local/lib/site_ruby/1.8/puppet/type/file/checksum.rb:30:in `sum_stream'
/usr/local/lib/site_ruby/1.8/puppet/type/file/content.rb:156:in `write'
/usr/local/lib/site_ruby/1.8/puppet/type/file.rb:761:in `write_content'
/usr/local/lib/site_ruby/1.8/puppet/type/file.rb:722:in `write'
/usr/local/lib/site_ruby/1.8/puppet/type/file.rb:722:in `open'
/usr/local/lib/site_ruby/1.8/puppet/type/file.rb:722:in `write'
/usr/local/lib/site_ruby/1.8/puppet/util.rb:144:in `withumask'
/usr/local/lib/site_ruby/1.8/puppet/type/file.rb:722:in `write'
/usr/local/lib/site_ruby/1.8/puppet/type/file/content.rb:137:in `sync'
/usr/local/lib/site_ruby/1.8/puppet/transaction/change.rb:34:in `apply'
/usr/local/lib/site_ruby/1.8/puppet/transaction/resource_harness.rb:21:in 
`apply_changes'
/usr/local/lib/site_ruby/1.8/puppet/transaction/resource_harness.rb:20:in `each'
/usr/local/lib/site_ruby/1.8/puppet/transaction/resource_harness.rb:20:in 
`apply_changes'
/usr/local/lib/site_ruby/1.8/puppet/transaction/resource_harness.rb:90:in 
`evaluate'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:49:in `apply'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:114:in 
`eval_children_and_apply_resource'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:92:in `eval_resource'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:143:in `evaluate'
/usr/local/lib/site_ruby/1.8/puppet/util.rb:414:in `thinmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/local/lib/site_ruby/1.8/puppet/util.rb:413:in `thinmark'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:142:in `evaluate'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:135:in `each'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:135:in `evaluate'
/usr/local/lib/site_ruby/1.8/puppet/resource/catalog.rb:144:in `apply'
/usr/local/lib/site_ruby/1.8/puppet/application/apply.rb:133:in `main'
/usr/local/lib/site_ruby/1.8/puppet/application/apply.rb:35:in `run_command'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:300:in `run'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:397:in `exit_on_fail'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:300:in `run'
/usr/local/lib/site_ruby/1.8/puppet/util/command_line.rb:55:in `execute'
/usr/sbin/puppet:4
</pre>
----------------------------------------
Bug #4489:   standalone puppet file source error "Could not evaluate: 
getaddrinfo: ..."  
http://projects.puppetlabs.com/issues/4489

Author: Mathias Gug
Status: Closed
Priority: Immediate
Assignee: Markus Roberts
Category: fileserving
Target version: 2.6.1
Affected version: 2.6.0
Keywords: 
Branch: http://github.com/MarkusQ/puppet/tree/ticket/2.6.x/4489


When running the puppet command with the following code:

<pre>
file { "/tmp/bobics_fileserver": source => 
"puppet:///modules/bobics/bobics_fileserver"}
</pre>

I get the error:
<pre>
err: /Stage[main]/Bobics/File[/tmp/bobics_fileserver]: Could not evaluate: 
getaddrinfo: Name or service not known Could not retrieve file metadata for 
puppet:///modules/bobics/bobics_fileserver: getaddrinfo: Name or service not 
known at /home/debian/puppet_sample/ modules/bobics/manifests/init.pp:8 
</pre>

See 
http://groups.google.com/group/puppet-users/browse_thread/thread/626e7334b437f4fc/ac3434e23105b2a4.

This seems to be a regression in 2.6.



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