Hi Dmitry, On Nov 15, 9:49 pm, James Turnbull <ja...@puppetlabs.com> wrote: > Dmitry wrote: > > Or, if this situation is too uncommon, is there any way to ask puppet > > agent to always act as if master is running on remote host, even if it > > runs on the same host and to always communicate via network? > > > Thanks. > > > On Nov 15, 7:13 pm, Dmitry <trtrmi...@gmail.com> wrote: > >> Hello! > > >> I use puppet-2.7.6 to sync several config files in my network. > >> I use neither Mongrel nor Passenger (which probably means I use > >> Webrick as http backend). > > >> When I run puppet agent from another machine, everything is fine. > > >> When I run agent from the same machine server is running on, I get the > >> following error: > >> # puppet agent --server > >> =<hostname.com> --no-daemonize --onetime --verbose --no-show_diff > >> <skip> > >> err: /Stage[main]/Bsd/File[/root/.ssh/authorized_keys]: Could not > >> evaluate: Conn > >> ection reset by peer Could not retrieve file metadata for > >> puppet:///modules/bsd/ > >> root/.ssh/authorized_keys: Connection reset by peer at /usr/local/etc/ > >> puppet/mod > >> ules/bsd/manifests/init.pp:117 > > >> If I run same command several times, I usually get the same error at > >> different stages (during request to different files puppet manages). > >> But error is always the same: Connection reset by peer. > > >> Sometimes it finishes w/o error, but almost always I get this error. > >> Some kind of random. > > >> What does it mean and how can I avoid it?
This looks to be http://projects.puppetlabs.com/issues/10881 Can you provide a sample manifest that can be used to reproduce the issue? Also, is this new behavior in 2.7.6 or are you seeing this with older versions? Thanks, Josh -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.