Issue #4489 has been updated by Markus Roberts.
Stack trace to the actually point at which it fails: <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:772:in `get' ./lib/puppet/indirector/rest.rb:71:in `find' ./lib/puppet/indirector/indirection.rb:193:in `find' ./lib/puppet/indirector.rb:50:in `find' ./lib/puppet/type/file/source.rb:141:in `init_metadata' ./lib/puppet/type/file/source.rb:139:in `each' ./lib/puppet/type/file/source.rb:139:in `init_metadata' ./lib/puppet/util/cacher.rb:106:in `send' ./lib/puppet/util/cacher.rb:106:in `cached_value' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' ./lib/puppet/util/cacher.rb:98:in `cached_value' ./lib/puppet/util/cacher.rb:48:in `metadata' ./lib/puppet/type/file/source.rb:99:in `copy_source_values' ./lib/puppet/type/file.rb:632:in `retrieve' ./lib/puppet/type.rb:695:in `retrieve_resource' ./lib/puppet/transaction/resource_harness.rb:39:in `changes_to_perform' ./lib/puppet/transaction/resource_harness.rb:87:in `evaluate' ./lib/puppet/transaction.rb:49:in `apply' ./lib/puppet/transaction.rb:114:in `eval_children_and_apply_resource' ./lib/puppet/transaction.rb:92:in `eval_resource' ./lib/puppet/transaction.rb:143:in `evaluate' ./lib/puppet/util.rb:414:in `thinmark' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' ./lib/puppet/util.rb:413:in `thinmark' ./lib/puppet/transaction.rb:142:in `evaluate' ./lib/puppet/transaction.rb:135:in `each' ./lib/puppet/transaction.rb:135:in `evaluate' ./lib/puppet/resource/catalog.rb:144:in `apply' ./lib/puppet/application/apply.rb:126:in `main' ./lib/puppet/application/apply.rb:35:in `run_command' ./lib/puppet/application.rb:300:in `run' ./lib/puppet/application.rb:397:in `exit_on_fail' ./lib/puppet/application.rb:300:in `run' ./lib/puppet/util/command_line.rb:55:in `execute' bin/puppet:4 </pre> ---------------------------------------- Bug #4489: standalone puppet file source error "Could not evaluate: getaddrinfo: ..." http://projects.puppetlabs.com/issues/4489 Author: Mathias Gug Status: Investigating Priority: Immediate Assigned to: Markus Roberts Category: fileserving Target version: 2.6.1 Affected version: 2.6.0 Keywords: Branch: 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.
